summaryrefslogtreecommitdiffstats
path: root/src/libdraw/bytesperline.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/bytesperline.c
parent93aa30a8df668b3ad5806c417acb65d2a4663178 (diff)
downloadplan9port-2634795b5f0053bc0ff08e5d7bbc0eda8efea061.tar.gz
plan9port-2634795b5f0053bc0ff08e5d7bbc0eda8efea061.zip
64-bit fixes from lucho
Diffstat (limited to 'src/libdraw/bytesperline.c')
-rw-r--r--src/libdraw/bytesperline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libdraw/bytesperline.c b/src/libdraw/bytesperline.c
index 08ff7d7f..056ac7c2 100644
--- a/src/libdraw/bytesperline.c
+++ b/src/libdraw/bytesperline.c
@@ -24,7 +24,7 @@ unitsperline(Rectangle r, int d, int bitsperunit)
int
wordsperline(Rectangle r, int d)
{
- return unitsperline(r, d, 8*sizeof(ulong));
+ return unitsperline(r, d, 8*sizeof(u32int));
}
int