Two tiny cleanup patches from James H.

[originally from svn r6111]
This commit is contained in:
Simon Tatham
2005-07-17 14:49:13 +00:00
parent 782a4f3fec
commit 8ac92e8607
2 changed files with 2 additions and 2 deletions

2
misc.c
View File

@ -194,7 +194,7 @@ void game_mkhighlight(frontend *fe, float *ret,
}
}
void memswap(void *av, void *bv, int size)
static void memswap(void *av, void *bv, int size)
{
char tmpbuf[512];
char *a = av, *b = bv;

View File

@ -284,7 +284,7 @@ static unsigned long squarert(unsigned long n) {
d = n;
a = 0;
b = 1 << 30; /* largest available power of 4 */
b = 1L << 30; /* largest available power of 4 */
do {
a >>= 1;
di = 2*a + b;