diff options
author | Gilbert Ramirez <gram@alumni.rice.edu> | 1999-06-25 02:57:42 +0000 |
---|---|---|
committer | Gilbert Ramirez <gram@alumni.rice.edu> | 1999-06-25 02:57:42 +0000 |
commit | 8596488569e492295f61b97f805e33a340fb81b8 (patch) | |
tree | 7530440d681c9ecf13dd2a3e978f45e267aa3d37 /follow.c | |
parent | 11394d515f57205bf8f0630ec45865c3cb40aec3 (diff) | |
download | wireshark-8596488569e492295f61b97f805e33a340fb81b8.tar.gz wireshark-8596488569e492295f61b97f805e33a340fb81b8.tar.bz2 wireshark-8596488569e492295f61b97f805e33a340fb81b8.zip |
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.
svn path=/trunk/; revision=331
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 ); |