amd64 fixes

This commit is contained in:
Russ Cox
2006-05-21 16:32:29 +00:00
parent af11a9e129
commit 5797fdc0c0
28 changed files with 116 additions and 66 deletions

View File

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