changeset 1120 | ea3bf8bc6678 |
parent 1095 | 90220990fd7c |
child 1121 | b0dbb4c15e12 |
--- a/misc.c Sun Jan 23 17:51:22 2005 +0000 +++ b/misc.c Sun Jan 23 19:02:53 2005 +0000 @@ -29,7 +29,7 @@ #ifdef RANDOM_DEBUG #include "network_data.h" -uint32 DoRandom(uint line, char *file) +uint32 DoRandom(int line, const char *file) #else uint32 Random(void) #endif @@ -61,7 +61,7 @@ } #ifdef RANDOM_DEBUG -uint DoRandomRange(uint max, uint line, char *file) +uint DoRandomRange(uint max, int line, const char *file) { return (uint16)DoRandom(line, file) * max >> 16; }