Make logo_dataconst and shut up gcc warning about signed
vs unsigned integer comparison.
This commit is contained in:
parent
91be00d42e
commit
92090532b2
|
@ -25,7 +25,7 @@
|
|||
#include <string>
|
||||
#include "common.h"
|
||||
|
||||
u8 logo_data[156] = {
|
||||
const u8 logo_data[156] = {
|
||||
0x24,0xFF,0xAE,0x51,0x69,0x9A,0xA2,0x21,0x3D,0x84,0x82,0x0A,0x84,0xE4,0x09,0xAD,
|
||||
0x11,0x24,0x8B,0x98,0xC0,0x81,0x7F,0x21,0xA3,0x52,0xBE,0x19,0x93,0x09,0xCE,0x20,
|
||||
0x10,0x46,0x4A,0x4A,0xF8,0x27,0x31,0xEC,0x58,0xC7,0xE8,0x33,0x82,0xE3,0xCE,0xBF,
|
||||
|
@ -68,7 +68,7 @@ char *removeSpecialChars(char *s)
|
|||
if (!s) return NULL;
|
||||
if (!*s) return s;
|
||||
|
||||
for (int i = 0; i < strlen(s); i++)
|
||||
for (u32 i = 0; i < strlen(s); i++)
|
||||
{
|
||||
if (isspace(s[i]) && (s[i] != 0x20))
|
||||
*buf = 0x20;
|
||||
|
@ -78,4 +78,4 @@ char *removeSpecialChars(char *s)
|
|||
}
|
||||
*buf = 0;
|
||||
return s;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
#include "types.h"
|
||||
#include <string>
|
||||
|
||||
extern u8 logo_data[156];
|
||||
extern const u8 logo_data[156];
|
||||
#ifdef WIN32
|
||||
|
||||
#include <winsock2.h>
|
||||
|
|
Loading…
Reference in New Issue