64-bit fixes from lucho
This commit is contained in:
parent
93aa30a8df
commit
2634795b5f
4 changed files with 13 additions and 11 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue