tthe c variable should be an integer - wmutils - X windows manipulation utilities
(HTM) git clone git://z3bra.org/wmutils
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit cd1f081e7af2a7e65154cb84f14c742090e383f6
(DIR) parent 7bf9b6fc2a1f0722975f65b41982af52afcbea5e
(HTM) Author: z3bra <willy@mailoo.org>
Date: Fri, 12 Dec 2014 13:03:57 +0100
tthe c variable should be an integer
Diffstat:
M wattr.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
(DIR) diff --git a/wattr.c b/wattr.c
t@@ -57,7 +57,8 @@ getattribute(xcb_window_t w, int attr)
int
main(int argc, char **argv)
{
- size_t i,c;
+ int c;
+ size_t i;
xcb_window_t w = 0;
if (argc < 2 || (strncmp(argv[1], "-h", 2) == 0)) {