]> rtime.felk.cvut.cz Git - sysless.git/commitdiff
tohit: Fixed compiler warnings
authorMichal Sojka <sojkam1@fel.cvut.cz>
Fri, 20 Feb 2009 19:54:49 +0000 (20:54 +0100)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Fri, 20 Feb 2009 19:54:49 +0000 (20:54 +0100)
app/tohit/tohit_fn.c
app/tohit/tohit_fn.h

index f5fdb927f803a96d7c8b6f9ec18ff2f58e6c2174..6a2be8a263137b5264042e930b80b3847b895e6c 100644 (file)
@@ -379,7 +379,7 @@ int tohit_cmdrepchk(int fd)
 
 #define BLEN 0x40000
 
-unsigned char *tohit_sdev="/dev/ttyS1";
+char *tohit_sdev="/dev/ttyS1";
 int tohit_baud=4800;
 
 
index ea480b8b19212df65cb8b2b7d31ec01ead46b7ae..d360013302c808a4bf2a7b52269841727a8231ab 100644 (file)
@@ -52,7 +52,7 @@ int tohit_blockerase(int block);
 int tohit_regerase(unsigned long adr, unsigned long size);
 
 
-unsigned char *tohit_sdev;
+char *tohit_sdev;
 int tohit_baud;
 long tohit_waitrep;