summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2019-03-03 14:46:22 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2019-03-03 14:46:22 -0800
commit0c3a8c6ae1287187b7f59a53a6f0bdaf27bf9e61 (patch)
treecd6ec62b659b92d60dcfcdcba508b4d7acd0363c
parent1edcd36934326eafffed6056ea54e2848738ab81 (diff)
Fix -Wsign-compare warning in dsimple.c
dsimple.c:322:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i=0; i<nchildren; i++) { ^ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--dsimple.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dsimple.c b/dsimple.c
index d721e46..3f800cf 100644
--- a/dsimple.c
+++ b/dsimple.c
@@ -309,7 +309,7 @@ Window Window_With_Name(
{
Window *children, dummy;
unsigned int nchildren;
- int i;
+ unsigned int i;
Window w=0;
char *window_name;