diff -r 6171f0bad318 -r f7b49b2c5d84 project_files/frontlib/ipc/gameconn.h --- a/project_files/frontlib/ipc/gameconn.h Wed Jun 27 22:52:19 2012 +0200 +++ b/project_files/frontlib/ipc/gameconn.h Thu Jul 05 00:33:24 2012 +0200 @@ -31,12 +31,11 @@ #define GAME_END_HALTED 2 #define GAME_END_ERROR 3 -struct _flib_gameconn; typedef struct _flib_gameconn flib_gameconn; flib_gameconn *flib_gameconn_create(const char *playerName, const flib_gamesetup *setup, bool netgame); -flib_gameconn *flib_gameconn_create_playdemo(const uint8_t *demo, int size); -flib_gameconn *flib_gameconn_create_loadgame(const char *playerName, const uint8_t *save, int size); +flib_gameconn *flib_gameconn_create_playdemo(const uint8_t *demo, size_t size); +flib_gameconn *flib_gameconn_create_loadgame(const char *playerName, const uint8_t *save, size_t size); flib_gameconn *flib_gameconn_create_campaign(const char *playerName, const char *seed, const char *script); void flib_gameconn_destroy(flib_gameconn *conn);