summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJihoon Kim <jihoon48.kim@samsung.com>2014-01-08 08:51:15 +0900
committerJihoon Kim <jihoon48.kim@samsung.com>2014-01-08 08:51:58 +0900
commitc277a0bb6f22a50752b5576bc518a93b510f037e (patch)
tree36aad747399ee0be8d66316d46c54f71e4f75b96
parent8c5930d6a180b4a247f4caf62087bc9ab19b8029 (diff)
map: fix allocator sizeof operand mismatch reported by clang
https://build.enlightenment.org/job/nightly_elm_clang_x86_64/lastSuccessfulBuild/artifact/scan-build/build/2014-01-05-1/report-vKmgoZ.html#EndPath https://build.enlightenment.org/job/nightly_elm_clang_x86_64/lastSuccessfulBuild/artifact/scan-build/build/2014-01-05-1/report-5OVcIZ.html#EndPath
-rw-r--r--src/lib/elm_map.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/elm_map.c b/src/lib/elm_map.c
index 71d40407a..beaf23fee 100644
--- a/src/lib/elm_map.c
+++ b/src/lib/elm_map.c
@@ -3434,7 +3434,7 @@ _source_mod_cb(Eina_Module *m,
3434 { 3434 {
3435 INF("Map ROUTE module is loaded \"%s\"", file); 3435 INF("Map ROUTE module is loaded \"%s\"", file);
3436 Source_Route *s; 3436 Source_Route *s;
3437 s = ELM_NEW(Source_Tile); 3437 s = ELM_NEW(Source_Route);
3438 s->name = name_cb(); 3438 s->name = name_cb();
3439 s->url_cb = route_url_cb; 3439 s->url_cb = route_url_cb;
3440 sd->src_routes = eina_list_append(sd->src_routes, s); 3440 sd->src_routes = eina_list_append(sd->src_routes, s);
@@ -3446,7 +3446,7 @@ _source_mod_cb(Eina_Module *m,
3446 { 3446 {
3447 INF("Map NAME module is loaded \"%s\"", file); 3447 INF("Map NAME module is loaded \"%s\"", file);
3448 Source_Name *s; 3448 Source_Name *s;
3449 s = ELM_NEW(Source_Tile); 3449 s = ELM_NEW(Source_Name);
3450 s->name = name_cb(); 3450 s->name = name_cb();
3451 s->url_cb = name_url_cb; 3451 s->url_cb = name_url_cb;
3452 sd->src_names = eina_list_append(sd->src_names, s); 3452 sd->src_names = eina_list_append(sd->src_names, s);