projects
/
platform
/
upstream
/
libHarfBuzzSharp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
239119a
)
[graphite2] Fix warning
author
Behdad Esfahbod
<behdad@behdad.org>
Sun, 13 Aug 2017 22:10:26 +0000
(15:10 -0700)
committer
Behdad Esfahbod
<behdad@behdad.org>
Sun, 13 Aug 2017 22:10:26 +0000
(15:10 -0700)
src/hb-graphite2.cc
patch
|
blob
|
history
diff --git
a/src/hb-graphite2.cc
b/src/hb-graphite2.cc
index
6eb34b0
..
9e0761e
100644
(file)
--- a/
src/hb-graphite2.cc
+++ b/
src/hb-graphite2.cc
@@
-366,7
+366,7
@@
_hb_graphite2_shape (hb_shape_plan_t *shape_plan,
float yscale = (float) font->y_scale / upem;
yscale *= yscale / xscale;
/* Positioning. */
-
int currclus =
-1;
+
unsigned int currclus = (unsigned int)
-1;
const hb_glyph_info_t *info = buffer->info;
hb_glyph_position_t *pPos = hb_buffer_get_glyph_positions (buffer, NULL);
if (!HB_DIRECTION_IS_BACKWARD(buffer->props.direction))