aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/flow-tools/files/patch-lib_ftchash.c
blob: 57ae25835d80a76cda97f49a1cee9520c8bb0b43 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- lib/ftchash.c.orig  Mon Oct  2 12:30:55 2006
+++ lib/ftchash.c   Mon Oct  2 12:31:29 2006
@@ -326,7 +326,7 @@
       (char*)ftch->traverse_chunk->base+ftch->traverse_chunk->next) {
 
       ret = ftch->traverse_rec;
-      (char*)ftch->traverse_rec += ftch->d_size;
+      ftch->traverse_rec = (char *)ftch->traverse_rec + ftch->d_size;
       return ret;
 
     } else {