diff options
Diffstat (limited to 'libps')
-rw-r--r-- | libps/write.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libps/write.c b/libps/write.c index 8d37056c..b28ccca6 100644 --- a/libps/write.c +++ b/libps/write.c @@ -128,6 +128,6 @@ error_t ps_write_int_field(int value, int width, FILE *stream, int *count) { char buf[20]; - sprintf(buf, "%ld", value); + sprintf(buf, "%d", value); return ps_write_field(buf, width, stream, count); } |