aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/svgalib/files/patch-gl::line.c
blob: 5c4e28d87c758182a4a5c280af8c2c34add9f4e0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
--- gl/line.c.orig  1999-12-05 08:32:54.000000000 +0100
+++ gl/line.c   2013-01-26 21:25:52.000000000 +0100
@@ -90,13 +90,13 @@ static inline int gl_regioncode (int x, 
 
 #else
 
-#define INC_IF_NEG(y, result)              \
-{                          \
-   __asm__("btl $31,%1\n\t"            \
-       "adcl $0,%0"                \
-       : "=r" ((int) result)           \
-       : "rm" ((int) (y)), "0" ((int) result)  \
-       );                  \
+#define INC_IF_NEG(y, result)          \
+{                      \
+   __asm__("btl $31,%1\n\t"        \
+       "adcl $0,%0"            \
+       : "=r" (result)         \
+       : "rm" (y), "0" (result)    \
+       );              \
 }
 
 static inline int gl_regioncode (int x, int y)