From 8da51112696ec8641d7dd9184b7ab1dd48458813 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Wed, 27 Feb 2013 17:48:31 -0500 Subject: [PATCH] Minor --- src/hb-shape.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/hb-shape.cc b/src/hb-shape.cc index 7d748d7d3..81094418e 100644 --- a/src/hb-shape.cc +++ b/src/hb-shape.cc @@ -67,6 +67,8 @@ parse_uint (const char **pp, const char *end, unsigned int *pv) char *pend = p; unsigned int v; + /* Intentionally use strtol instead of strtoul, such that + * -1 turns into "big number"... */ v = strtol (p, &pend, 0); if (p == pend)