From 0d36225dd1e8ded87949d157fedb07f9d949cb30 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 12 May 2013 06:33:21 +0000 Subject: quiet sign conversion warnings and reduce sign conversion for BLI_string, and BLF. --- source/blender/blenfont/intern/blf_internal_types.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'source/blender/blenfont/intern/blf_internal_types.h') diff --git a/source/blender/blenfont/intern/blf_internal_types.h b/source/blender/blenfont/intern/blf_internal_types.h index de6e70e4461..36294bfe3b5 100644 --- a/source/blender/blenfont/intern/blf_internal_types.h +++ b/source/blender/blenfont/intern/blf_internal_types.h @@ -36,10 +36,10 @@ typedef struct GlyphCacheBLF { struct GlyphCacheBLF *prev; /* font size. */ - int size; + unsigned int size; /* and dpi. */ - int dpi; + unsigned int dpi; /* and the glyphs. */ ListBase bucket[257]; @@ -51,7 +51,7 @@ typedef struct GlyphCacheBLF { GLuint *textures; /* size of the array. */ - int ntex; + unsigned int ntex; /* and the last texture, aka. the current texture. */ int cur_tex; @@ -63,7 +63,7 @@ typedef struct GlyphCacheBLF { int y_offs; /* and the space from one to other. */ - unsigned int pad; + int pad; /* and the bigger glyph in the font. */ int max_glyph_width; @@ -194,16 +194,16 @@ typedef struct FontBLF { rctf clip_rec; /* font dpi (default 72). */ - int dpi; + unsigned int dpi; /* font size. */ - int size; + unsigned int size; /* max texture size. */ int max_tex_size; /* cache current OpenGL texture to save calls into the API */ - int tex_bind_state; + unsigned int tex_bind_state; /* font options. */ int flags; -- cgit v1.2.3