Use strtol for signed variables.

git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/branches/seamlessrdp-branch/rdesktop@1124 423420c4-83ab-492f-b58f-81f9feb106b5
This commit is contained in:
Peter Åstrand 2006-03-15 11:34:55 +00:00
parent 34208b5634
commit c90a9e7064

View File

@ -132,17 +132,17 @@ seamless_process_line(const char *line, void *data)
if (*endptr)
return False;
x = strtoul(tok3, &endptr, 0);
x = strtol(tok3, &endptr, 0);
if (*endptr)
return False;
y = strtoul(tok4, &endptr, 0);
y = strtol(tok4, &endptr, 0);
if (*endptr)
return False;
width = strtoul(tok5, &endptr, 0);
width = strtol(tok5, &endptr, 0);
if (*endptr)
return False;
height = strtoul(tok6, &endptr, 0);
height = strtol(tok6, &endptr, 0);
if (*endptr)
return False;