Using strtoll for window ids, since strtol is signed, and we need to
use all bits of a long. git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/branches/seamlessrdp-branch/rdesktop@1119 423420c4-83ab-492f-b58f-81f9feb106b5
This commit is contained in:
parent
1894873fb3
commit
1644b0aecd
12
seamless.c
12
seamless.c
@ -87,11 +87,11 @@ seamless_process_line(const char *line, void *data)
|
||||
if (!tok4)
|
||||
return False;
|
||||
|
||||
id = strtol(tok2, &endptr, 0);
|
||||
id = strtoll(tok2, &endptr, 0);
|
||||
if (*endptr)
|
||||
return False;
|
||||
|
||||
parent = strtol(tok3, &endptr, 0);
|
||||
parent = strtoll(tok3, &endptr, 0);
|
||||
if (*endptr)
|
||||
return False;
|
||||
|
||||
@ -106,7 +106,7 @@ seamless_process_line(const char *line, void *data)
|
||||
if (!tok3)
|
||||
return False;
|
||||
|
||||
id = strtol(tok2, &endptr, 0);
|
||||
id = strtoll(tok2, &endptr, 0);
|
||||
if (*endptr)
|
||||
return False;
|
||||
|
||||
@ -128,7 +128,7 @@ seamless_process_line(const char *line, void *data)
|
||||
if (!tok7)
|
||||
return False;
|
||||
|
||||
id = strtol(tok2, &endptr, 0);
|
||||
id = strtoll(tok2, &endptr, 0);
|
||||
if (*endptr)
|
||||
return False;
|
||||
|
||||
@ -161,7 +161,7 @@ seamless_process_line(const char *line, void *data)
|
||||
if (!tok4)
|
||||
return False;
|
||||
|
||||
id = strtol(tok2, &endptr, 0);
|
||||
id = strtoll(tok2, &endptr, 0);
|
||||
if (*endptr)
|
||||
return False;
|
||||
|
||||
@ -178,7 +178,7 @@ seamless_process_line(const char *line, void *data)
|
||||
if (!tok4)
|
||||
return False;
|
||||
|
||||
id = strtol(tok2, &endptr, 0);
|
||||
id = strtoll(tok2, &endptr, 0);
|
||||
if (*endptr)
|
||||
return False;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user