lnvis

nanovg lightning network visualizer
git clone git://jb55.com/lnvis
Log | Files | Refs | README | LICENSE

commit e09989acecde011378665040c4466d52f1dae8e6
parent 42a2eb7b1cfb74504b6328debca60df5b0af9300
Author: William Casarin <jb55@jb55.com>
Date:   Fri,  3 Aug 2018 13:38:04 -0700

fontstash: silence signed error

Diffstat:
Mdeps/nanovg/fontstash.h | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/deps/nanovg/fontstash.h b/deps/nanovg/fontstash.h @@ -894,7 +894,7 @@ int fonsAddFont(FONScontext* stash, const char* name, const char* path) readed = fread(data, 1, dataSize, fp); fclose(fp); fp = 0; - if (readed != dataSize) goto error; + if (readed != (size_t)dataSize) goto error; return fonsAddFontMem(stash, name, data, dataSize, 1);