diff options
author | rsc <devnull@localhost> | 2005-07-13 13:44:40 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2005-07-13 13:44:40 +0000 |
commit | e9254adc8f015c3ed422ce488801ed123c4a0749 (patch) | |
tree | 454ca03e49ba5e8742a8af4012938cae45268c02 /src/cmd/rio/client.c | |
parent | a699daf6afc17d8e7085b3cd2413f4d25ca689fe (diff) | |
download | plan9port-e9254adc8f015c3ed422ce488801ed123c4a0749.tar.gz plan9port-e9254adc8f015c3ed422ce488801ed123c4a0749.tar.bz2 plan9port-e9254adc8f015c3ed422ce488801ed123c4a0749.zip |
cleanup
Diffstat (limited to 'src/cmd/rio/client.c')
-rw-r--r-- | src/cmd/rio/client.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cmd/rio/client.c b/src/cmd/rio/client.c index 02db0e97..df8225fd 100644 --- a/src/cmd/rio/client.c +++ b/src/cmd/rio/client.c @@ -229,7 +229,7 @@ dump_revert(void) i = 0; for(c = current; c; c = c->revert){ - fprintf(stderr, "%s(%x:%d)", c->label ? c->label : "?", c->window, c->state); + fprintf(stderr, "%s(%x:%d)", c->label ? c->label : "?", (uint)c->window, c->state); if(i++ > 100) break; if(c->revert) @@ -246,7 +246,7 @@ dump_clients(void) Client *c; for(c = clients; c; c = c->next) - fprintf(stderr, "w 0x%x parent 0x%x @ (%d, %d)\n", c->window, c->parent, c->x, c->y); + fprintf(stderr, "w 0x%x parent 0x%x @ (%d, %d)\n", (uint)c->window, (uint)c->parent, c->x, c->y); } #endif @@ -263,7 +263,7 @@ shuffle(int up) for(l=&clients; (*l)->next; l=&(*l)->next) ; c = *l; - *l = nil; + *l = 0; c->next = clients; clients = c; XMapRaised(dpy, c->parent); |