seoz pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=9f02f3453df3c5283b7eccc8678a9891a0e05d71

commit 9f02f3453df3c5283b7eccc8678a9891a0e05d71
Author: Daniel Juyung Seo <[email protected]>
Date:   Mon Feb 23 10:46:53 2015 +0900

    performance: Cast strlen return with int.
---
 src/examples/perfomance/graphical.c  | 2 +-
 src/examples/perfomance/perfomance.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/examples/perfomance/graphical.c 
b/src/examples/perfomance/graphical.c
index 10bc775..27b7061 100644
--- a/src/examples/perfomance/graphical.c
+++ b/src/examples/perfomance/graphical.c
@@ -573,7 +573,7 @@ _xml_attr_data(void *data, const char *key, const char 
*value)
              tmp = strdup(globalGraphical.model_path);
              a = strrchr(tmp,'.');
              format = malloc(sizeof (char) * (strlen(a) - 1));
-             for (i = 0; i <= strlen(a) - 1; i++)
+             for (i = 0; i <= (int)strlen(a) - 1; i++)
                format[i] = a[i + 1];
              if (strcmp(format, "md2") || strcmp(format, "obj") || 
!strcmp(format, "ply"))
                {
diff --git a/src/examples/perfomance/perfomance.c 
b/src/examples/perfomance/perfomance.c
index d054b29..53ade9d 100644
--- a/src/examples/perfomance/perfomance.c
+++ b/src/examples/perfomance/perfomance.c
@@ -530,7 +530,7 @@ _load_mesh(void *data, Evas_Object *obj, void *event_info)
         tmp = strdup(event_info);
         a = strrchr(tmp,'.');
         format = malloc(sizeof (char) * (strlen(a) - 1));
-        for (i = 0; i <= strlen(a) - 1; i++)
+        for (i = 0; i <= (int)strlen(a) - 1; i++)
           format[i] = a[i + 1];
         if (!strcmp(format, "md2"))
           {

-- 


Reply via email to