64-bit fixes from lucho

This commit is contained in:
rsc 2005-01-14 03:33:11 +00:00
parent 93aa30a8df
commit 2634795b5f
4 changed files with 13 additions and 11 deletions

View file

@ -21,7 +21,7 @@ getmemdefont(void)
* declared as char*, not u32int*.
*/
p = (char*)defontdata;
n = (u32int)p & 3;
n = (ulong)p & 3;
if(n != 0){
memmove(p+(4-n), p, sizeofdefont-n);
p += 4-n;