aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Slaven <bpk@hoopajoo.net>2018-09-25 23:53:09 (GMT)
committerSteve Slaven <bpk@hoopajoo.net>2018-09-25 23:53:09 (GMT)
commit0f07aa26dc39911748b6113b36b1f62f790c2367 (patch)
treed9e443289f542ebb3a0d2156d501306eebef6153
parent1c026e617c3c2615fe521c88716d5338c2dc370c (diff)
downloadpowwow-0f07aa26dc39911748b6113b36b1f62f790c2367.zip
powwow-0f07aa26dc39911748b6113b36b1f62f790c2367.tar.gz
powwow-0f07aa26dc39911748b6113b36b1f62f790c2367.tar.bz2
fix unsigned/signed comparison
-rw-r--r--powwow-muc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/powwow-muc.c b/powwow-muc.c
index ea7171f..aade7f0 100644
--- a/powwow-muc.c
+++ b/powwow-muc.c
@@ -21,7 +21,8 @@
int main( int argc, char *argv[] ) {
WINDOW *text, *status;
int speed = 5;
- int key, sleep, orig, i, color, looping, cursx, cursy;
+ int key, sleep, orig, color, looping, cursx, cursy;
+ size_t i;
FILE *in;
char line[ 1000 ], *displine, action[ 100 ];
long curr_pos, file_size, new_pos;