changes from plan 9

This commit is contained in:
rsc 2006-05-21 16:20:29 +00:00
parent 3167fce5ce
commit 3bff492520
2 changed files with 11 additions and 15 deletions

View file

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