1
0
Fork 0
forked from len0rd/rockbox
foxbox/apps/plugins/goban
Amaury Pouly d7871914ac Fix dangerous casts
On Windows 64-bit, the size of long is 32-bit, thus any pointer to long cast is
not valid. In any case, one should use intptr_t and ptrdiff_t when casting
to integers. This commit attempts to fix all instances reported by GCC.
When relevant, I replaced code by the macros PTR_ADD, ALIGN_UP from system.h

Change-Id: I2273b0e8465d3c4689824717ed5afa5ed238a2dc
2017-02-04 17:24:47 +01:00
..
board.c
board.h
display.c goban plugin: hoshi locations for more board sizes 2012-01-26 13:08:07 +01:00
display.h
game.c
game.h
goban.c
goban.h Replace SAMSUNG_YH920_PAD with YH92X 2016-01-25 09:23:09 +01:00
goban.make Refactor and unify objcopy calls in the build system. Also now properly handles DEBUG builds on hosted targets to keep debug symbols if necessary. 2012-04-04 21:48:19 +02:00
sgf.c A better fix than b58b9c2. 2016-03-13 23:01:35 +01:00
sgf.h
sgf_output.c
sgf_output.h
sgf_parse.c
sgf_parse.h
sgf_storage.c
sgf_storage.h
SOURCES
types.h
util.c Fix dangerous casts 2017-02-04 17:24:47 +01:00
util.h