summaryrefslogtreecommitdiffstats
path: root/gst/nsf/memguard.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/nsf/memguard.c')
-rw-r--r--gst/nsf/memguard.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/gst/nsf/memguard.c b/gst/nsf/memguard.c
index 77774a7f..10897d59 100644
--- a/gst/nsf/memguard.c
+++ b/gst/nsf/memguard.c
@@ -270,7 +270,8 @@ _my_free (void **data)
char fail[256];
if (NULL == data || NULL == *data
- || 0xFFFFFFFF == (uint32) * data || 0xFFFFFFFF == (uint32) data) {
+ || (void *) 0xFFFFFFFF == (void *) *data
+ || (void *) 0xFFFFFFFF == (void *) data) {
#ifdef NOFRENDO_DEBUG
sprintf (fail, "free: attempted to free NULL pointer at line %d of %s\n",
line, file);
@@ -354,7 +355,13 @@ mem_checkblocks (void)
/*
** $Log$
-** Revision 1.3 2008/03/25 15:56:11 slomo
+** Revision 1.4 2008/03/25 16:58:53 wtay
+** * gst/nsf/memguard.c: (_my_free):
+** * gst/nsf/types.h:
+** Unbreak compilation by disabling memguard and doing some dirty hack
+** fixes to make it compile on 64bits.
+**
+** Revision 1.3 2008-03-25 15:56:11 slomo
** Patch by: Andreas Henriksson <andreas at fatal dot set>
** * gst/nsf/Makefile.am:
** * gst/nsf/dis6502.h: