summaryrefslogtreecommitdiff
path: root/vchat-client.c
diff options
context:
space:
mode:
authorDirk Engling <erdgeist@erdgeist.org>2022-05-17 16:12:46 +0200
committerDirk Engling <erdgeist@erdgeist.org>2022-05-17 16:12:46 +0200
commit1c04bbfea700a8a38719e9a30dd47b37bf609a3d (patch)
tree79e814b2594ae8b388f821ef6696cc85d1e74cf6 /vchat-client.c
parent34a4541114318a7eda1c96ed58f83cdcd2622207 (diff)
Get rid of some warnings
Diffstat (limited to 'vchat-client.c')
-rwxr-xr-xvchat-client.c6
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}