diff Wnn/jserver/initjserv.c @ 3:ed4bb01eb317

- suppress warnings. - partially fixed comparison between pointer and 0.
author Yoshiki Yazawa <yaz@cc.rim.or.jp>
date Thu, 13 Dec 2007 19:53:14 +0900
parents bbc77ca4def5
children a7ccf412ba02
line wrap: on
line diff
--- a/Wnn/jserver/initjserv.c	Thu Dec 13 17:42:01 2007 +0900
+++ b/Wnn/jserver/initjserv.c	Thu Dec 13 19:53:14 2007 +0900
@@ -266,7 +266,7 @@
 		{
 		  break;
 		}
-              giji_eisuu[i] = expand_argument (word);
+          giji_eisuu[i] = expand_argument ((unsigned char *)word);
 	    }
 	  log_debug ("command %s has %d parameters.", code, i);
           for (; i < 20; i++)
@@ -363,7 +363,7 @@
     }
   else if (*st == '\\')
     {
-      return (get_bcksla (st + 1));
+        return (get_bcksla ((char *)(st + 1)));
     }
   else if (*st == '0')
     {
@@ -391,7 +391,7 @@
     }
   else
     {
-      return (atoi (st));
+        return (atoi ((char *)st));
     }
 }