Fix warnings.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5729 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2020-07-14 01:16:20 +00:00
parent 6bea300f30
commit 457b7e5f58
3 changed files with 8 additions and 4 deletions

View file

@ -1069,7 +1069,7 @@ void Sys_CloseTerminal(void)
#define SYS_CLIPBOARD_SIZE 256
static char clipboard_buffer[SYS_CLIPBOARD_SIZE] = {0};
void Sys_Clipboard_PasteText(clipboardtype_t cbt, void (*callback)(void *cb, char *utf8), void *ctx)
void Sys_Clipboard_PasteText(clipboardtype_t cbt, void (*callback)(void *cb, const char *utf8), void *ctx)
{
callback(ctx, clipboard_buffer);
}

View file

@ -71,7 +71,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#define NO_JPEG
#define NO_OGG
#define NO_ZLIB
#define NO_FREETYPE
#ifndef NO_FREETYPE
#define NO_FREETYPE
#endif
#endif
#ifdef D3DQUAKE
@ -337,7 +339,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#ifdef ANDROID
#define GLESONLY //should reduce the conditions a little
// #undef HEADLESSQUAKE
#define NO_FREETYPE
#ifndef NO_FREETYPE
#define NO_FREETYPE
#endif
#define NO_OPENAL
#endif
#if defined(NACL)

View file

@ -248,7 +248,7 @@ qboolean Sys_RunInstaller(void)
#define SYS_CLIPBOARD_SIZE 256
static char *clipboard_buffer;
void Sys_Clipboard_PasteText(clipboardtype_t cbt, void (*callback)(void *cb, char *utf8), void *ctx)
void Sys_Clipboard_PasteText(clipboardtype_t cbt, void (*callback)(void *cb, const char *utf8), void *ctx)
{
callback(ctx, clipboard_buffer);
}