diff options
| -rw-r--r-- | apps/plugins/chessbox/chessbox_pgn.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/chessbox/chessbox_pgn.c b/apps/plugins/chessbox/chessbox_pgn.c index f5f19e2..4e16834 100644 --- a/apps/plugins/chessbox/chessbox_pgn.c +++ b/apps/plugins/chessbox/chessbox_pgn.c @@ -48,7 +48,7 @@ static void *pl_malloc(size_t size) } else { - bufptr += size; + bufptr = (char*)(bufptr) + size; bufleft -= size; return ptr; } |