mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-18 03:55:19 -04:00
fix a bunch of warnings when compiling from last commit
This commit is contained in:
parent
67558dfe7e
commit
3872d9e1b1
@ -111,6 +111,8 @@ struct LSlider {
|
|||||||
};
|
};
|
||||||
CC_NOINLINE void LSlider_Init(struct LSlider* w, int width, int height);
|
CC_NOINLINE void LSlider_Init(struct LSlider* w, int width, int height);
|
||||||
|
|
||||||
|
struct ServerInfo;
|
||||||
|
struct DrawTextArgs;
|
||||||
/* Returns sort order of two rows/server entries. */
|
/* Returns sort order of two rows/server entries. */
|
||||||
typedef int (*LTableSorter)(struct ServerInfo* a, struct ServerInfo* b);
|
typedef int (*LTableSorter)(struct ServerInfo* a, struct ServerInfo* b);
|
||||||
|
|
||||||
|
@ -1636,7 +1636,7 @@ void Window_ShowDialog(const char* title, const char* msg) {
|
|||||||
static GC win_gc;
|
static GC win_gc;
|
||||||
static XImage* win_image;
|
static XImage* win_image;
|
||||||
void Window_InitRaw(Bitmap* bmp) {
|
void Window_InitRaw(Bitmap* bmp) {
|
||||||
if (!win_gc) win_gc = XCreateGC(win_display, win_handle, NULL, NULL);
|
if (!win_gc) win_gc = XCreateGC(win_display, win_handle, 0, NULL);
|
||||||
if (win_image) XFree(win_image);
|
if (win_image) XFree(win_image);
|
||||||
|
|
||||||
Mem_Free(bmp->Scan0);
|
Mem_Free(bmp->Scan0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user