X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Fgame_em%2Finit.c;h=2033b2dbd49f3873384f61daa7527e29fb77e02f;hp=12c0ad971940d636823dce2a89fd7273e992c18f;hb=61c3da024802ecc0268bab42d7499fc0346e4fd3;hpb=e9306042d9ea3bc310590fe16653538905a9b99d diff --git a/src/game_em/init.c b/src/game_em/init.c index 12c0ad97..2033b2db 100644 --- a/src/game_em/init.c +++ b/src/game_em/init.c @@ -46,7 +46,7 @@ struct GameInfo_EM game_em; static int sound_pid = -1; int sound_pipe[2] = { -1, -1 }; /* for communication */ short *sound_data[SAMPLE_MAX]; /* pointer to sound data */ -long sound_length[SAMPLE_MAX]; /* length of sound data */ +int sound_length[SAMPLE_MAX]; /* length of sound data */ static const char *sound_names[SAMPLE_MAX] = { @@ -401,7 +401,7 @@ void sound_play(void) clear_mem(play, sizeof(play)); } -unsigned int InitEngineRandom_EM(long seed) +unsigned int InitEngineRandom_EM(int seed) { if (seed == NEW_RANDOMIZE) {