mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-26 23:36:37 -04:00
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 |
||
|---|---|---|
| .. | ||
| board.c | ||
| board.h | ||
| display.c | ||
| display.h | ||
| game.c | ||
| game.h | ||
| goban.c | ||
| goban.h | ||
| goban.make | ||
| sgf.c | ||
| 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 | ||
| util.h | ||