summaryrefslogtreecommitdiff
path: root/common.c
diff options
context:
space:
mode:
Diffstat (limited to 'common.c')
-rw-r--r--common.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/common.c b/common.c
index 8e144d1..4830206 100644
--- a/common.c
+++ b/common.c
@@ -1,7 +1,8 @@
#include "debug.h"
-int debug_int(int i) {
- debug("%d\n", i);
+char *debug_int(char *i) {
+ int *p = (int *) i;
+ debug("%d\n", *p);
return i;
}