Fixed compiler warning.
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401616
This commit is contained in:
parent
764d343924
commit
092d48fc0f
1 changed files with 4 additions and 4 deletions
|
@ -241,13 +241,13 @@ static int xio_errhandler(Display *d)
|
||||||
return(XIO_handler(d));
|
return(XIO_handler(d));
|
||||||
}
|
}
|
||||||
|
|
||||||
static int (*Xext_handler)(Display *,char *,char *) = NULL;
|
static int (*Xext_handler)(Display *, _Xconst char *, _Xconst char *) = NULL;
|
||||||
static int xext_errhandler(Display *d, char *ext_name, char *reason)
|
static int xext_errhandler(Display *d, _Xconst char *ext, _Xconst char *reason)
|
||||||
{
|
{
|
||||||
#ifdef XFREE86_DEBUG
|
#ifdef XFREE86_DEBUG
|
||||||
printf("Xext error inside SDL (may be harmless):\n");
|
printf("Xext error inside SDL (may be harmless):\n");
|
||||||
printf(" Extension \"%s\" %s on display \"%s\".\n",
|
printf(" Extension \"%s\" %s on display \"%s\".\n",
|
||||||
ext_name, reason, XDisplayString(d));
|
ext, reason, XDisplayString(d));
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (SDL_strcmp(reason, "missing") == 0) {
|
if (SDL_strcmp(reason, "missing") == 0) {
|
||||||
|
@ -260,7 +260,7 @@ static int xext_errhandler(Display *d, char *ext_name, char *reason)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Everything else goes to the default handler... */
|
/* Everything else goes to the default handler... */
|
||||||
return Xext_handler(d, ext_name, reason);
|
return Xext_handler(d, ext, reason);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Find out what class name we should use */
|
/* Find out what class name we should use */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue