--- deliantra/server/random_maps/random_map.C 2007/01/19 21:49:58 1.24 +++ deliantra/server/random_maps/random_map.C 2007/01/19 22:24:10 1.25 @@ -797,7 +797,7 @@ if (RP->random_seed) { - sprintf (small_buf, "random_seed %d\n", RP->random_seed); + sprintf (small_buf, "random_seed %u\n", RP->random_seed); strcat (buf, small_buf); } @@ -833,7 +833,7 @@ int difficulty_given_n, int decoroptions_n, int orientation_n, - int origin_x_n, int origin_y_n, int random_seed_n, int treasureoptions_n, float difficulty_increase) + int origin_x_n, int origin_y_n, uint32_t random_seed_n, int treasureoptions_n, float difficulty_increase) { char small_buf[16384]; @@ -979,7 +979,7 @@ if (random_seed_n) { /* Add one so that the next map is a bit different */ - sprintf (small_buf, "random_seed %d\n", random_seed_n + 1); + sprintf (small_buf, "random_seed %u\n", random_seed_n + 1); strcat (buf, small_buf); }