1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-15 01:57:40 -05:00

Const-correctness in x11_setup_display.

The 'display' parameter should have been a const char *. No call sites
affected.
This commit is contained in:
Simon Tatham
2015-05-05 20:16:18 +01:00
parent bcfcb169ef
commit a53e4e2cb6
2 changed files with 2 additions and 2 deletions

View File

@ -190,7 +190,7 @@ int x11_authcmp(void *av, void *bv)
}
}
struct X11Display *x11_setup_display(char *display, Conf *conf)
struct X11Display *x11_setup_display(const char *display, Conf *conf)
{
struct X11Display *disp = snew(struct X11Display);
char *localcopy;