1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-01-07 06:14:13 +01:00

Use int instead of size_t to silence warning

gcc-4.4.1 was complaining:

fontconv.c: In function ‘mapWeightToName’:
fontconv.c:114: warning: field precision should have type ‘int’, but argument 4 has type ‘size_t’
fontconv.c:114: warning: field precision should have type ‘int’, but argument 4 has type ‘size_t’
fontconv.c: In function ‘xlfdToFc’:
fontconv.c:157: warning: field precision should have type ‘int’, but argument 4 has type ‘size_t’
fontconv.c:157: warning: field precision should have type ‘int’, but argument 4 has type ‘size_t’
This commit is contained in:
Carlos R. Mafra
2010-04-08 17:11:35 +02:00
parent 241e66ff0a
commit 08f990a946

View File

@@ -45,7 +45,7 @@ static int countChar(char *str, char c)
typedef struct str { typedef struct str {
char *str; char *str;
size_t len; int len;
} str; } str;
#define XLFD_TOKENS 14 #define XLFD_TOKENS 14