Finally! Got rid of compilation warning about converting pointer to int
authorgram <gram@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 23 Jun 1999 20:09:58 +0000 (20:09 +0000)
committergram <gram@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 23 Jun 1999 20:09:58 +0000 (20:09 +0000)
in line 198.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@328 f5534014-38df-0310-8fa8-9805f1628bb7

follow.c

index 4efda54d6c42e7b7f3d360e9e4e3d1a791a1c2e0..4957485f90d3640d3782289508aaf8cda659bd80 100644 (file)
--- a/follow.c
+++ b/follow.c
@@ -1,6 +1,6 @@
 /* follow.c
  *
- * $Id: follow.c,v 1.6 1999/03/23 20:25:49 deniel Exp $
+ * $Id: follow.c,v 1.7 1999/06/23 20:09:58 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] = current->next;
+       src[index] = GPOINTER_TO_INT(current->next);
       }
       free( current->data );
       free( current );