aboutsummaryrefslogtreecommitdiff
path: root/src/libdraw/md-defont.c
diff options
context:
space:
mode:
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 1e9e01ed..21ea6cc0 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 = (ulong)p & 3;
+ n = (uintptr)p & 3;
if(n != 0){
memmove(p+(4-n), p, sizeofdefont-n);
p += 4-n;