Decouple <cstdint>

This commit is contained in:
Martin Natano
2023-04-21 22:13:41 +02:00
parent bcea05dd67
commit aa87f85eef
167 changed files with 1533 additions and 1307 deletions
+2 -1
View File
@@ -6,6 +6,7 @@
#include "RageSurface.h"
#include <cstddef>
#include <cstdint>
#include <setjmp.h>
extern "C" {
@@ -169,7 +170,7 @@ static RageSurface *RageSurface_Load_JPEG( RageFile *f, const char *fn, char err
for( int i = 0; i < 256; ++i )
{
RageSurfaceColor color;
color.r = color.g = color.b = (int8_t) i;
color.r = color.g = color.b = (std::int8_t) i;
color.a = 0xFF;
img->fmt.palette->colors[i] = color;
}