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:
51b5848
)
Fix warning
author
Behdad Esfahbod
<behdad@behdad.org>
Mon, 28 Jan 2019 19:09:59 +0000
(14:09 -0500)
committer
Behdad Esfahbod
<behdad@behdad.org>
Mon, 28 Jan 2019 19:09:59 +0000
(14:09 -0500)
c:\projects\harfbuzz\src\hb-ot-color-cbdt-table.hh(59): warning C4146: unary minus operator applied to unsigned type, result still unsigned [C:\projects\harfbuzz\build\harfbuzz.vcxproj]
src/hb-ot-color-cbdt-table.hh
patch
|
blob
|
history
diff --git
a/src/hb-ot-color-cbdt-table.hh
b/src/hb-ot-color-cbdt-table.hh
index
71c31af
..
333ceaa
100644
(file)
--- a/
src/hb-ot-color-cbdt-table.hh
+++ b/
src/hb-ot-color-cbdt-table.hh
@@
-56,7
+56,7
@@
struct SmallGlyphMetrics
extents->x_bearing = bearingX;
extents->y_bearing = bearingY;
extents->width = width;
- extents->height = -height;
+ extents->height = -
(hb_position_t)
height;
}
HBUINT8 height;