Skip to content

Commit 979140d

Browse files
committed
Fix warning
1 parent 4b520e8 commit 979140d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dagon/DGSystemUnix.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
// Definitions
3333
////////////////////////////////////////////////////////////
3434

35-
bool createGLWindow(char* title, int width, int height, int bits,
35+
bool createGLWindow(const char* title, int width, int height, int bits,
3636
bool fullscreenflag);
3737

3838
GLvoid killGLWindow();
@@ -344,7 +344,7 @@ time_t DGSystem::wallTime() {
344344
// Implementation - Private methods
345345
////////////////////////////////////////////////////////////
346346

347-
bool createGLWindow(char* title, int width, int height, int bits,
347+
bool createGLWindow(const char* title, int width, int height, int bits,
348348
bool fullscreenflag) {
349349
XVisualInfo *vi;
350350
Colormap cmap;

0 commit comments

Comments
 (0)