From 9b2ca26ce8058625eb797a1c77af77bc09a42c04 Mon Sep 17 00:00:00 2001 From: id Date: Sun, 3 Dec 2000 13:37:30 +0000 Subject: [PATCH] using unsigned for height and width cause a lot of confusion. I grab X's header and see that XImage use int for its width and height so I change RImage to follow that. --- wrlib/wraster.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wrlib/wraster.h b/wrlib/wraster.h index 7933ea60..2c80ff97 100644 --- a/wrlib/wraster.h +++ b/wrlib/wraster.h @@ -190,7 +190,7 @@ enum RImageFormat { */ typedef struct RImage { unsigned char *data; /* image data RGBA or RGB */ - unsigned width, height; /* size of the image */ + int width, height; /* size of the image */ enum RImageFormat format; RColor background; /* background color */ } RImage;