diff options
author | Alan Coopersmith <alan.coopersmith@sun.com> | 2009-05-06 21:43:59 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@sun.com> | 2009-05-06 21:44:37 -0700 |
commit | 50ef34933ba3e846605d52a96619323e12887959 (patch) | |
tree | bb1b0c722700eee128ca15df4764393af4d28bda /common.c | |
parent | 0167af41624e8ef86b657d83ece09fe4e12fd6a2 (diff) | |
download | xscope-50ef34933ba3e846605d52a96619323e12887959.tar.gz |
Clear many compiler & sparse warnings
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
Diffstat (limited to 'common.c')
-rw-r--r-- | common.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -99,7 +99,7 @@ Malloc (long n) { void *p; p = malloc(n); - debug(64,(stderr, "%x = malloc(%d)\n", p, n)); + debug(64,(stderr, "%lx = malloc(%ld)\n", (unsigned long) p, n)); if (p == NULL) panic("no more malloc space"); return(p); @@ -108,7 +108,7 @@ Malloc (long n) void Free(void *p) { - debug(64,(stderr, "%x = free\n", p)); + debug(64,(stderr, "%lx = free\n", (unsigned long) p)); free(p); } |