summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Cardell Widerkrantz <mc@hack.org>2011-08-15 20:04:04 +0200
committerMichael Cardell Widerkrantz <mc@hack.org>2011-08-15 20:04:04 +0200
commit932d2bb770df050e2c67cb2014f6c40f50df45b8 (patch)
tree6b53c2dd139c4f9b4e5c21b5eee23b632fa89716
parent6540fd5a7e7202d23bcfaa968c881e28535a0a89 (diff)
downloadmcwm-932d2bb770df050e2c67cb2014f6c40f50df45b8.zip
getopt() returns int, you moron!
-rw-r--r--mcwm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mcwm.c b/mcwm.c
index 6b98564..a42a522 100644
--- a/mcwm.c
+++ b/mcwm.c
@@ -3884,7 +3884,7 @@ int main(int argc, char **argv)
{
uint32_t mask = 0;
uint32_t values[2];
- char ch; /* Option character */
+ int ch; /* Option character */
xcb_void_cookie_t cookie;
xcb_generic_error_t *error;
xcb_drawable_t root;