diff src/cmd_proto.c @ 10:cc106f278d7d

Get identify of components
author Thinker K.F. Li <thinker@branda.to>
date Tue, 24 Feb 2009 13:32:04 +0800
parents e410832c3280
children
line wrap: on
line diff
--- a/src/cmd_proto.c	Sun Feb 22 22:43:26 2009 +0800
+++ b/src/cmd_proto.c	Tue Feb 24 13:32:04 2009 +0800
@@ -120,7 +120,8 @@
     return cmd;
 }
 
-int cmd_proto_cmd_fill(char *buf, int seq, cp_ccode_t code, int data_sz) {
+int cmd_proto_cmd_fill(unsigned char *buf, int seq,
+		       cp_ccode_t code, int data_sz) {
     int i, last = data_sz + CP_CMD_HEAD_SZ;
     int csum = 0;