summaryrefslogtreecommitdiff
path: root/src/examples/evas/evas-text.c
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2014-01-09 08:53:07 +0100
committerCedric BAIL <cedric.bail@samsung.com>2014-01-10 16:36:12 +0900
commit3f3f652535c156eb486b69c2d5f05e64d259389d (patch)
tree7ebcb06a65a8ad0006673e56707340af31320934 /src/examples/evas/evas-text.c
parentc34578b5d188d541a587e614252c98df5d54dbbc (diff)
downloadefl-3f3f652535c156eb486b69c2d5f05e64d259389d.tar.gz
examples: do not do void* arithmetics in evas examples.
Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
Diffstat (limited to 'src/examples/evas/evas-text.c')
-rw-r--r--src/examples/evas/evas-text.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/examples/evas/evas-text.c b/src/examples/evas/evas-text.c
index b24ac14e7f..d2adc64433 100644
--- a/src/examples/evas/evas-text.c
+++ b/src/examples/evas/evas-text.c
@@ -33,7 +33,7 @@
#define POINTER_CYCLE(_ptr, _array) \
do \
{ \
- if ((unsigned)(((void *)(_ptr)) - ((void *)(_array))) >= \
+ if ((unsigned int)(((unsigned char *)(_ptr)) - ((unsigned char *)(_array))) >= \
sizeof(_array)) \
_ptr = _array; \
} \