diff options
author | gram <gram@f5534014-38df-0310-8fa8-9805f1628bb7> | 1999-06-25 02:57:42 +0000 |
---|---|---|
committer | gram <gram@f5534014-38df-0310-8fa8-9805f1628bb7> | 1999-06-25 02:57:42 +0000 |
commit | c4df6a3b2008c0786d7ac9850563b93fa0a61175 (patch) | |
tree | 7530440d681c9ecf13dd2a3e978f45e267aa3d37 /follow.c | |
parent | 6aa2e105dc28c59b9785e71e8864ddd484de8818 (diff) |
In my haste to get rid of the compilation warning, I converted the
pointer to a signed int instead of an unsigned int. In my testing the
code still worked, but it's better to do the conversion correctly.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@331 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'follow.c')
-rw-r--r-- | follow.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,6 +1,6 @@ /* follow.c * - * $Id: follow.c,v 1.7 1999/06/23 20:09:58 gram Exp $ + * $Id: follow.c,v 1.8 1999/06/25 02:57:42 gram Exp $ * * Copyright 1998 Mike Hall <mlh@io.com> * @@ -195,7 +195,7 @@ check_fragments( int index ) { if( prev ) { prev->next = current->next; } else { - src[index] = GPOINTER_TO_INT(current->next); + src[index] = GPOINTER_TO_UINT(current->next); } free( current->data ); free( current ); |