mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-03-12 18:13:50 -05:00
Clean up a couple of trivial compiler warnings.
[originally from svn r885]
This commit is contained in:
parent
5c8e6a5295
commit
477c66fc64
3
rlogin.c
3
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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user