]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
DEVEL15-budb-no-pointer-math-on-void-star-20090316
authorJeffrey Altman <jaltman@secure-endpoints.com>
Mon, 16 Mar 2009 14:19:49 +0000 (14:19 +0000)
committerDerrick Brashear <shadow@dementia.org>
Mon, 16 Mar 2009 14:19:49 +0000 (14:19 +0000)
LICENSE IPL10

can't do pointer math on void*; already casting to char* anyway

(cherry picked from commit f076eb4f88a8e3b7633c21edb3921f4f08eefa6b)

src/budb/procs.c

index 22a84a0bd12a14f1307cde6c24f13259bf90ff1b..e7dbfa1fea328d363db39739d3050e7b55b0389c 100644 (file)
@@ -530,7 +530,7 @@ SendReturnList(struct ubik_trans *ut,
     afs_int32 code;
     int to_return;
     int i;
-    void *e;
+    char *e;
 
     *nextIndexP = -1;
     *dbTimeP = ntohl(db.h.lastUpdate);