aboutsummaryrefslogtreecommitdiff
path: root/devel/libafterbase/files
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2001-10-08 16:25:53 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2001-10-08 16:25:53 +0000
commit8c2edddff87e950aaf9bd3cf49913bc653dc5882 (patch)
treee57c9c861216dc60ea10c7a7cf8fe9bd3328899a /devel/libafterbase/files
parent38ec3a704a862909ea3894a2e4d3bad602cac8c8 (diff)
Notes
Diffstat (limited to 'devel/libafterbase/files')
-rw-r--r--devel/libafterbase/files/patch-audit.c59
1 files changed, 59 insertions, 0 deletions
diff --git a/devel/libafterbase/files/patch-audit.c b/devel/libafterbase/files/patch-audit.c
new file mode 100644
index 000000000000..1ab4d26c3d77
--- /dev/null
+++ b/devel/libafterbase/files/patch-audit.c
@@ -0,0 +1,59 @@
+--- audit.c.orig Sun Oct 7 22:16:37 2001
++++ audit.c Sun Oct 7 22:19:10 2001
+@@ -427,7 +427,7 @@
+ m1->line = line;
+ #else
+ safefree (m->ptr);
+- mem_destroy( (ASHashableValue)NULL, m );
++ mem_destroy( (ASHashableValue)(void*)NULL, m );
+ #endif
+ }
+
+@@ -714,7 +714,7 @@
+ */
+
+ XFreePixmap (display, pmap);
+- mem_destroy( (ASHashableValue)NULL, m );
++ mem_destroy( (ASHashableValue)(void*)NULL, m );
+ return Success;
+ }
+
+@@ -750,7 +750,7 @@
+ }
+
+ XFreeGC (display, gc);
+- mem_destroy( (ASHashableValue)NULL, m );
++ mem_destroy( (ASHashableValue)(void*)NULL, m );
+ return Success;
+ }
+
+@@ -830,17 +830,17 @@
+ /* can also be of C_MEM type if we allocated it ourselvs */
+ m = count_find_and_extract (fname, line, (void *)image, C_MEM);
+ if (m)
+- mem_destroy( (ASHashableValue)NULL, m );
++ mem_destroy( (ASHashableValue)(void*)NULL, m );
+
+ /* find and free the image->data pointer if it is in our list */
+ if( image_data )
+ if ((m = count_find_and_extract (fname, line, image_data, C_MEM)) != NULL)
+- mem_destroy( (ASHashableValue)NULL, m );
++ mem_destroy( (ASHashableValue)(void*)NULL, m );
+
+ /* find and free the image->obdata pointer if it is in our list */
+ if( image_obdata )
+ if ((m = count_find_and_extract (fname, line, image_obdata, C_MEM)) != NULL)
+- mem_destroy( (ASHashableValue)NULL, m );
++ mem_destroy( (ASHashableValue)(void*)NULL, m );
+
+ return Success;
+ }
+@@ -1025,7 +1025,7 @@
+ }
+
+ XFree (data);
+- mem_destroy( (ASHashableValue)NULL, m );
++ mem_destroy( (ASHashableValue)(void*)NULL, m );
+ return Success;
+ }
+