commit aefeb2eed903a50adc4f9fa0de06f78d97d7e259
parent 7e8322572a62ce5678df8b20faf5e3e508f43cb4
Author: Russ Cox <rsc@swtch.com>
Date: Tue, 9 Dec 2008 00:57:19 -0800
9vx: make OS X build again
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/9vx/osx/draw.c b/src/9vx/osx/draw.c
@@ -4,7 +4,7 @@
#include "memdraw.h"
Memimage*
-allocmemimage(Rectangle r, ulong chan)
+allocmemimage(Rectangle r, uint32 chan)
{
return _allocmemimage(r, chan);
}
@@ -16,7 +16,7 @@ freememimage(Memimage *i)
}
void
-memfillcolor(Memimage *i, ulong val)
+memfillcolor(Memimage *i, uint32 val)
{
_memfillcolor(i, val);
}
@@ -34,7 +34,7 @@ memimagedraw(Memimage *dst, Rectangle r, Memimage *src, Point sp, Memimage *mask
_memimagedraw(_memimagedrawsetup(dst, r, src, sp, mask, mp, op));
}
-ulong
+uint32
pixelbits(Memimage *m, Point p)
{
return _pixelbits(m, p);