diff examples/filesend/reader.c @ 73:ad401b7c97bb

fix warnings
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Fri, 23 Oct 2009 14:16:59 +0900
parents 1b86f7cfb01a
children
line wrap: on
line diff
--- a/examples/filesend/reader.c	Fri Oct 23 14:13:13 2009 +0900
+++ b/examples/filesend/reader.c	Fri Oct 23 14:16:59 2009 +0900
@@ -10,10 +10,10 @@
 #define PORT 10000
 
 void
-mainLoop(int tid, int read_id, FILE* out)
+mainLoop(unsigned int tid, int read_id, FILE* out)
 {
-	int rd_seq;
-	char *tuple, *data;
+	unsigned int rd_seq;
+	unsigned char *tuple, *data;
 	int len;
 
 	/* すでにデータが書き込まれた状態で動くこと  */