Fixed guac_write_int - var should have been a long.
This commit is contained in:
parent
693fe2a1f5
commit
2aa5805048
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user