Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2013-05-12 10:33:21 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-05-12 10:33:21 +0400
commit0d36225dd1e8ded87949d157fedb07f9d949cb30 (patch)
tree7ee65f80bc76e4d7d1e19c0ac352be957b8b69b1 /source/blender/blenfont/intern/blf_internal_types.h
parent7b707fff56209d8997a2d52dde6f38e67be56c31 (diff)
quiet sign conversion warnings and reduce sign conversion for BLI_string, and BLF.
Diffstat (limited to 'source/blender/blenfont/intern/blf_internal_types.h')
-rw-r--r--source/blender/blenfont/intern/blf_internal_types.h14
1 files changed, 7 insertions, 7 deletions
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;