fixed compile warning in debug.c; thanks /u/akkartik