fix silly warning
This commit is contained in:
parent
8ee0724524
commit
0353c714d6
@ -414,7 +414,7 @@ write_address(CELL address)
|
||||
#if HAVE_SNPRINTF
|
||||
snprintf(buf,32,"%p",(void *)address);
|
||||
#else
|
||||
snprintf(buf,"%p",(void *)address);
|
||||
sprintf(buf,"%p",(void *)address);
|
||||
#endif
|
||||
p[31] = '\0'; /* so that I don't have to worry */
|
||||
Yap_DebugErrorPutc('0');
|
||||
|
Reference in New Issue
Block a user