silence -Wwrite-strings in visualtest

This commit is contained in:
Ozkan Sezer committed 2021-12-21 20:01:02 +03:00
1 parent 71c497a3a3
commit 8a355116d1
7 files changed
+12 -12

No files matched your search

+1 -1
View File
@@ -15,7 +15,7 @@
#if defined(__WIN32__)
void
LogLastError(char* str)
LogLastError(const char* str)
{
LPVOID buffer;
DWORD dw = GetLastError();
+1 -1
View File
@@ -16,7 +16,7 @@
#if defined(__WIN32__)
#include <windows.h>
void LogLastError(char* str);
void LogLastError(const char* str);
static int img_num;
static SDL_ProcessInfo screenshot_pinfo;