From 56568ffb38756684c0fc9c693ca1a1ed4c003f66 Mon Sep 17 00:00:00 2001
From: Sylvain <[EMAIL REDACTED]>
Date: Wed, 16 Mar 2022 18:04:40 +0100
Subject: [PATCH] Remove 'reserved identifier' warning
---
src/video/SDL_blit.h | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/src/video/SDL_blit.h b/src/video/SDL_blit.h
index 53222e441bb..e00ba68e2d6 100644
--- a/src/video/SDL_blit.h
+++ b/src/video/SDL_blit.h
@@ -269,18 +269,18 @@ do { \
{ \
switch (bpp) { \
case 1: { \
- Uint8 _Pixel; \
+ Uint8 _pixel; \
\
- PIXEL_FROM_RGB(_Pixel, fmt, r, g, b); \
- *((Uint8 *)(buf)) = _Pixel; \
+ PIXEL_FROM_RGB(_pixel, fmt, r, g, b); \
+ *((Uint8 *)(buf)) = _pixel; \
} \
break; \
\
case 2: { \
- Uint16 _Pixel; \
+ Uint16 _pixel; \
\
- PIXEL_FROM_RGB(_Pixel, fmt, r, g, b); \
- *((Uint16 *)(buf)) = _Pixel; \
+ PIXEL_FROM_RGB(_pixel, fmt, r, g, b); \
+ *((Uint16 *)(buf)) = _pixel; \
} \
break; \
\
@@ -298,10 +298,10 @@ do { \
break; \
\
case 4: { \
- Uint32 _Pixel; \
+ Uint32 _pixel; \
\
- PIXEL_FROM_RGB(_Pixel, fmt, r, g, b); \
- *((Uint32 *)(buf)) = _Pixel; \
+ PIXEL_FROM_RGB(_pixel, fmt, r, g, b); \
+ *((Uint32 *)(buf)) = _pixel; \
} \
break; \
} \