diff options
Diffstat (limited to 'vchat-client.c')
-rwxr-xr-x | vchat-client.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vchat-client.c b/vchat-client.c index db31c7c..39b42d9 100755 --- a/vchat-client.c +++ b/vchat-client.c | |||
@@ -292,10 +292,10 @@ getintoption (confopt option) | |||
292 | #endif | 292 | #endif |
293 | for (i = 0; configoptions[i].type != CO_NIL; i++) | 293 | for (i = 0; configoptions[i].type != CO_NIL; i++) |
294 | if ((configoptions[i].id == option) && (configoptions[i].type == CO_INT)) { | 294 | if ((configoptions[i].id == option) && (configoptions[i].type == CO_INT)) { |
295 | if ((uintptr_t)configoptions[i].value == -1) | 295 | if ((intptr_t)configoptions[i].value == -1) |
296 | return (uintptr_t) configoptions[i].defaultvalue; | 296 | return (intptr_t) configoptions[i].defaultvalue; |
297 | else | 297 | else |
298 | return (uintptr_t) configoptions[i].value; | 298 | return (intptr_t) configoptions[i].value; |
299 | } | 299 | } |
300 | return 0; | 300 | return 0; |
301 | } | 301 | } |