summaryrefslogtreecommitdiffstats
path: root/src/libdraw/md-defont.c
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-01-14 03:33:11 +0000
committerrsc <devnull@localhost>2005-01-14 03:33:11 +0000
commit2634795b5f0053bc0ff08e5d7bbc0eda8efea061 (patch)
treee787c3f184a1f72fe10a3bc13304e27d9c0b941d /src/libdraw/md-defont.c
parent93aa30a8df668b3ad5806c417acb65d2a4663178 (diff)
downloadplan9port-2634795b5f0053bc0ff08e5d7bbc0eda8efea061.tar.gz
plan9port-2634795b5f0053bc0ff08e5d7bbc0eda8efea061.zip
64-bit fixes from lucho
Diffstat (limited to 'src/libdraw/md-defont.c')
-rw-r--r--src/libdraw/md-defont.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libdraw/md-defont.c b/src/libdraw/md-defont.c
index 446c2e93..1e9e01ed 100644
--- a/src/libdraw/md-defont.c
+++ b/src/libdraw/md-defont.c
@@ -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;