diff --git a/libguac/src/guacio.c b/libguac/src/guacio.c index 7c04054c..a160633e 100644 --- a/libguac/src/guacio.c +++ b/libguac/src/guacio.c @@ -102,7 +102,7 @@ ssize_t guac_write_int(GUACIO* io, long i) { char buffer[128]; char* ptr = &(buffer[127]); - int nonneg; + long nonneg; /* Obtain non-negative value */ if (i < 0) nonneg = -i;