mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-06 22:12:47 -05:00
Colin's const-fixing Patch Of Death. Seems to build fine on Windows
as well as Unix, so it can go in. [originally from svn r3162]
This commit is contained in:
@ -166,7 +166,7 @@ int from_backend(void *frontend, int is_stderr, const char *data, int len)
|
||||
return term_data(inst->term, is_stderr, data, len);
|
||||
}
|
||||
|
||||
void logevent(void *frontend, char *string)
|
||||
void logevent(void *frontend, const char *string)
|
||||
{
|
||||
struct gui_data *inst = (struct gui_data *)frontend;
|
||||
|
||||
@ -3075,7 +3075,8 @@ int pt_main(int argc, char **argv)
|
||||
|
||||
inst->back = select_backend(&inst->cfg);
|
||||
{
|
||||
char *realhost, *error;
|
||||
char *realhost;
|
||||
const char *error;
|
||||
|
||||
error = inst->back->init((void *)inst, &inst->backhandle,
|
||||
&inst->cfg, inst->cfg.host, inst->cfg.port,
|
||||
|
Reference in New Issue
Block a user