edje: constify Edje_Font on edje_pick
authorBruno Dilly <bdilly@profusion.mobi>
Fri, 7 Dec 2012 16:42:32 +0000 (16:42 +0000)
committerBruno Dilly <bdilly@profusion.mobi>
Fri, 7 Dec 2012 16:42:32 +0000 (16:42 +0000)
warning--

SVN revision: 80471

legacy/edje/src/bin/edje_pick.c

index 684c59d..c13c626 100644 (file)
@@ -836,8 +836,8 @@ _edje_pick_sounds_add(Edje_File *edf)
 static int\r
 _font_cmp(const void *d1, const void *d2)\r
 {\r
-   Edje_Font *f1 = d1;\r
-   Edje_Font *f2 = d2;\r
+   const Edje_Font *f1 = d1;\r
+   const Edje_Font *f2 = d2;\r
 \r
    /* Same font if (d1->name == d2->name) AND (d1->file == d2->file) */\r
    return (strcmp(f1->name, f2->name) |\r