You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/games-arcade/briquolo/files/briquolo-0.5.7-clang-wideni...

32 lines
881 B

https://bugs.gentoo.org/739094
https://svnweb.freebsd.org/ports/head/games/briquolo/files/patch-src-MOGL-MOGL_PoliceTTF.h?revision=460698&view=co
Fix types passed to SDL_Rect structure (SDL 1.2)
--- a/src/MOGL/MOGL_PoliceTTF.h
+++ b/src/MOGL/MOGL_PoliceTTF.h
@@ -42,10 +42,10 @@
{
GLuint TextureName;
Uint16 carac;
- unsigned int x1;
- unsigned int y1;
- unsigned int x2;
- unsigned int y2;
+ Sint16 x1;
+ Sint16 y1;
+ int x2;
+ int y2;
};
struct MOGL_Struct_TextureCarac
@@ -141,7 +141,7 @@
MOGL_Struct_Carac * _Caracteres;
MOGL_Struct_Carac * (_Correspondance[256-32]);
- unsigned int _LastTextureX, _LastTextureY;
+ Sint16 _LastTextureX, _LastTextureY;
unsigned int maxHeightCarac;
MOGL_Map_Carac _MapCarac;
MOGL_Vector_TextureName _VectorTextureName;