aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-opensafety.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2011-06-02 14:22:19 +0000
committerBill Meier <wmeier@newsguy.com>2011-06-02 14:22:19 +0000
commitce0d6a52b580846443d9371fb19fdae4be035cc6 (patch)
treee4f8bf19ae5637c9f51f7da306a942ec15981bed /epan/dissectors/packet-opensafety.c
parenta9bbcb4a057d5637104ef3be63e7aa29fba53719 (diff)
Fix Bug #5984: Infinite loop caused by fcn call arg conversion: guint->guint8
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5984 svn path=/trunk/; revision=37521
Diffstat (limited to 'epan/dissectors/packet-opensafety.c')
-rw-r--r--epan/dissectors/packet-opensafety.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-opensafety.c b/epan/dissectors/packet-opensafety.c
index 961a8e5065..e9ad59ffde 100644
--- a/epan/dissectors/packet-opensafety.c
+++ b/epan/dissectors/packet-opensafety.c
@@ -400,7 +400,7 @@ static guint16 crc16_opensafety(guint32 len, guint8 * pBuffer, guint16 initCRC);
static guint stringToBytes( const char * string, guint8 * pBuffer, guint32 length );
-static guint8 findSafetyFrame ( guint8 * pBuffer, guint32 length, guint8 u_Offset, guint *u_frameOffset, guint *u_frameLength );
+static guint8 findSafetyFrame ( guint8 * pBuffer, guint32 length, guint u_Offset, guint *u_frameOffset, guint *u_frameLength );
static guint stringToBytes( const char * stringToBytes, guint8 * pBuffer, guint32 length )
{
@@ -613,7 +613,7 @@ static guint8 crc8_opensafety(guint32 len, guint8 * pBuffer, guint8 initCRC)
return crc;
}
-static guint8 findSafetyFrame ( guint8 * pBuffer, guint32 length, guint8 u_Offset, guint *u_frameOffset, guint *u_frameLength )
+static guint8 findSafetyFrame ( guint8 * pBuffer, guint32 length, guint u_Offset, guint *u_frameOffset, guint *u_frameLength )
{
guint n;
guint16 crc, calcCrc;