Mercurial > molko
diff src/font.c @ 46:b815621df3e3
core: remove all fixed width integers, closes #2460
author | David Demelier <markand@malikania.fr> |
---|---|
date | Wed, 15 Jan 2020 22:31:17 +0100 |
parents | 9d1421c09dfb |
children |
line wrap: on
line diff
--- a/src/font.c Wed Jan 15 22:31:17 2020 +0100 +++ b/src/font.c Wed Jan 15 22:31:17 2020 +0100 @@ -34,7 +34,7 @@ }; struct font * -font_openf(const char *path, unsigned size) +font_openf(const char *path, unsigned int size) { assert(path); @@ -52,7 +52,7 @@ } struct font * -font_openb(const void *buffer, size_t buflen, unsigned size) +font_openb(const void *buffer, size_t buflen, unsigned int size) { assert(buffer); @@ -72,7 +72,7 @@ } struct texture * -font_render(struct font *font, const char *text, uint32_t color) +font_render(struct font *font, const char *text, unsigned long color) { assert(font); assert(text);