Clean up a couple of trivial compiler warnings.
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Mon, 22 Jan 2001 17:24:38 +0000 (17:24 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Mon, 22 Jan 2001 17:24:38 +0000 (17:24 +0000)
git-svn-id: svn://svn.tartarus.org/sgt/putty@885 cda61777-01e9-0310-a592-d414129be87e

rlogin.c

index bf1db8d..b3e9eac 100644 (file)
--- a/rlogin.c
+++ b/rlogin.c
@@ -33,7 +33,6 @@ static int rlogin_receive (Socket s, int urgent, char *data, int len) {
     }
     if (urgent == 2) {
         char c;
-        int i;
         
         c = *data++; len--;
         if (c == 0x80)
@@ -118,7 +117,7 @@ static void rlogin_send (char *buf, int len) {
  * Called to set the size of the window
  */
 static void rlogin_size(void) {
-    char b[12] = { 0xFF, 0xFF, 0x73, 0x73, 0, 0, 0, 0, 0, 0, 0, 0 };
+    char b[12] = { '\xFF', '\xFF', 0x73, 0x73, 0, 0, 0, 0, 0, 0, 0, 0 };
 
     b[6] = cols >> 8; b[7] = cols & 0xFF;
     b[4] = rows >> 8; b[5] = rows & 0xFF;