drawops: Make dT1 and dS1 in do_ellipse() unsigned
"dT1" and "dS1" are never negative, so they should be unsigned.
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
diff --git a/drawops/generic.c b/drawops/generic.c
index 5c068e1..5fd971b 100644
--- a/drawops/generic.c
+++ b/drawops/generic.c
@@ -316,8 +316,8 @@
u32 y1 = b;
int S = a2*(1-2*b)+2*b2;
int T = b2-2*a2*(2*b-1);
- int dT1 = 4*b2;
- int dS1 = dT1+2*b2;
+ unsigned int dT1 = 4*b2;
+ unsigned int dS1 = dT1+2*b2;
int dS2 = -4*a2*(b-1);
int dT2 = dS2+2*a2;
@@ -358,8 +358,8 @@
u32 y1 = 0;
int S = b2*(1-2*a)+2*a2;
int T = a2-2*b2*(2*a-1);
- int dT1 = 4*a2;
- int dS1 = dT1+2*a2;
+ unsigned int dT1 = 4*a2;
+ unsigned int dS1 = dT1+2*a2;
int dS2 = -4*b2*(a-1);
int dT2 = dS2+2*b2;