diff options
author | Vincent Torri <vincent.torri@gmail.com> | 2014-01-09 08:53:07 +0100 |
---|---|---|
committer | Cedric BAIL <cedric.bail@samsung.com> | 2014-01-10 16:36:12 +0900 |
commit | 3f3f652535c156eb486b69c2d5f05e64d259389d (patch) | |
tree | 7ebcb06a65a8ad0006673e56707340af31320934 /src/examples/evas/evas-text.c | |
parent | c34578b5d188d541a587e614252c98df5d54dbbc (diff) | |
download | efl-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.c | 2 |
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; \ } \ |