summaryrefslogtreecommitdiffstats
path: root/examples/rotate.c
diff options
context:
space:
mode:
authorChristian Beier <dontmind@freeshell.org>2011-03-17 14:43:55 +0100
committerChristian Beier <dontmind@freeshell.org>2011-03-17 14:43:55 +0100
commitfe1ca16e9b75b5f38ab374c8dfff92d2c3ea4532 (patch)
tree8539521ed668d65f6dbd59c491bc9565bce6e8cb /examples/rotate.c
parent56234cd0b656de3c8827288f2adf78c9cb12d0c5 (diff)
downloadlibtdevnc-fe1ca16e9b75b5f38ab374c8dfff92d2c3ea4532.tar.gz
libtdevnc-fe1ca16e9b75b5f38ab374c8dfff92d2c3ea4532.zip
Fix (most) MinGW32 compiler warnings.
Diffstat (limited to 'examples/rotate.c')
-rw-r--r--examples/rotate.c30
1 files changed, 15 insertions, 15 deletions
diff --git a/examples/rotate.c b/examples/rotate.c
index e552e4a..028de8c 100644
--- a/examples/rotate.c
+++ b/examples/rotate.c
@@ -10,22 +10,22 @@
#define FUNCNAME rfbRotate
#define FUNC(i, j) (h - 1 - j + i * h)
#define SWAPDIMENSIONS
-#define OUT 8
+#define OUTBITS 8
#include "rotatetemplate.c"
-#define OUT 16
+#define OUTBITS 16
#include "rotatetemplate.c"
-#define OUT 32
+#define OUTBITS 32
#include "rotatetemplate.c"
#undef FUNCNAME
#undef FUNC
#define FUNCNAME rfbRotateCounterClockwise
#define FUNC(i, j) (j + (w - 1 - i) * h)
-#define OUT 8
+#define OUTBITS 8
#include "rotatetemplate.c"
-#define OUT 16
+#define OUTBITS 16
#include "rotatetemplate.c"
-#define OUT 32
+#define OUTBITS 32
#include "rotatetemplate.c"
#undef FUNCNAME
#undef FUNC
@@ -33,33 +33,33 @@
#define FUNCNAME rfbFlipHorizontally
#define FUNC(i, j) ((w - 1 - i) + j * w)
-#define OUT 8
+#define OUTBITS 8
#include "rotatetemplate.c"
-#define OUT 16
+#define OUTBITS 16
#include "rotatetemplate.c"
-#define OUT 32
+#define OUTBITS 32
#include "rotatetemplate.c"
#undef FUNCNAME
#undef FUNC
#define FUNCNAME rfbFlipVertically
#define FUNC(i, j) (i + (h - 1 - j) * w)
-#define OUT 8
+#define OUTBITS 8
#include "rotatetemplate.c"
-#define OUT 16
+#define OUTBITS 16
#include "rotatetemplate.c"
-#define OUT 32
+#define OUTBITS 32
#include "rotatetemplate.c"
#undef FUNCNAME
#undef FUNC
#define FUNCNAME rfbRotateHundredAndEighty
#define FUNC(i, j) ((w - 1 - i) + (h - 1 - j) * w)
-#define OUT 8
+#define OUTBITS 8
#include "rotatetemplate.c"
-#define OUT 16
+#define OUTBITS 16
#include "rotatetemplate.c"
-#define OUT 32
+#define OUTBITS 32
#include "rotatetemplate.c"
#undef FUNCNAME
#undef FUNC