silence -Wwrite-strings in visualtest

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

View File

@@ -15,7 +15,7 @@
#if defined(__WIN32__)
void
LogLastError(char* str)
LogLastError(const char* str)
{
LPVOID buffer;
DWORD dw = GetLastError();

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;