projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Clean up a couple of trivial compiler warnings.
[u/mdw/putty]
/
rlogin.c
diff --git
a/rlogin.c
b/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;
}
if (urgent == 2) {
char c;
- int i;
c = *data++; len--;
if (c == 0x80)
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) {
* 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;
b[6] = cols >> 8; b[7] = cols & 0xFF;
b[4] = rows >> 8; b[5] = rows & 0xFF;