X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=x11fwd.c;h=e42edf7549dfebc937f1f3675bd6035f384c910f;hb=89da2ddf564a93414ee9ab2df3f053608094e417;hp=4a6d82704b7cdbccbed5a1dfcf964aaa2dda9cbd;hpb=fb4fbe11588d3e53be99909f57dd179d1105aaf5;p=PuTTY.git diff --git a/x11fwd.c b/x11fwd.c index 4a6d8270..e42edf75 100644 --- a/x11fwd.c +++ b/x11fwd.c @@ -357,10 +357,10 @@ void x11_free_display(struct X11Display *disp) #define XDM_MAXSKEW 20*60 /* 20 minute clock skew should be OK */ -static char *x11_verify(unsigned long peer_ip, int peer_port, - tree234 *authtree, char *proto, - unsigned char *data, int dlen, - struct X11FakeAuth **auth_ret) +static const char *x11_verify(unsigned long peer_ip, int peer_port, + tree234 *authtree, char *proto, + unsigned char *data, int dlen, + struct X11FakeAuth **auth_ret) { struct X11FakeAuth match_dummy; /* for passing to find234 */ struct X11FakeAuth *auth;