void-packages/srcpkgs/vpcs/patches/remote_musl.patch

19 lines
500 B
Diff
Raw Normal View History

2017-01-20 19:03:39 +01:00
--- src/remote.c.orig 2017-01-20 16:46:45.037618348 -0600
+++ src/remote.c 2017-01-20 16:47:18.504616161 -0600
@@ -43,13 +43,13 @@
#include "readline.h"
#include "utils.h"
-int open_remote(int fdio, const char *destip, const u_short destport)
+int open_remote(int fdio, const char *destip, const unsigned short destport)
{
int s;
struct sockaddr_in addr_in;
struct termios termios;
char kb[512];
- u_char outbuf[512];
+ unsigned char outbuf[512];
int rc;
int i;
struct timeval tv;