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:
dfc5780
)
Fix signed comparison on 32bit
author
Behdad Esfahbod
<behdad@behdad.org>
Wed, 8 May 2019 06:28:22 +0000
(23:28 -0700)
committer
Behdad Esfahbod
<behdad@behdad.org>
Wed, 8 May 2019 06:28:22 +0000
(23:28 -0700)
src/hb-sanitize.hh
patch
|
blob
|
history
diff --git
a/src/hb-sanitize.hh
b/src/hb-sanitize.hh
index
ac424c1
..
5ecd2d2
100644
(file)
--- a/
src/hb-sanitize.hh
+++ b/
src/hb-sanitize.hh
@@
-175,7
+175,7
@@
struct hb_sanitize_context_t :
else
{
this->start = obj_start;
- this->end = obj_start + hb_min (
this->end - obj_start
, obj->get_size ());
+ this->end = obj_start + hb_min (
size_t (this->end - obj_start)
, obj->get_size ());
}
}