mirror of
https://github.com/encounter/SDL.git
synced 2025-12-09 05:27:48 +00:00
silence -Wwrite-strings in visualtest
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
#if defined(__WIN32__)
|
||||
|
||||
void
|
||||
LogLastError(char* str)
|
||||
LogLastError(const char* str)
|
||||
{
|
||||
LPVOID buffer;
|
||||
DWORD dw = GetLastError();
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user