projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31f4464
)
Efl object: rename shadowing variable.
author
Tom Hacohen
<tom@stosb.com>
Mon, 5 Sep 2016 15:22:33 +0000
(16:22 +0100)
committer
Tom Hacohen
<tom@stosb.com>
Mon, 5 Sep 2016 15:22:33 +0000
(16:22 +0100)
src/lib/eo/eo_base_class.c
patch
|
blob
|
history
diff --git
a/src/lib/eo/eo_base_class.c
b/src/lib/eo/eo_base_class.c
index
c48dee0
..
fd362ec
100644
(file)
--- a/
src/lib/eo/eo_base_class.c
+++ b/
src/lib/eo/eo_base_class.c
@@
-1029,9
+1029,9
@@
_eo_callbacks_sorted_insert(Efl_Object_Data *pd, Eo_Callback_Description *cb)
if ((pd->callbacks_count & 0xF) == 0x0)
{
Eo_Callback_Description **tmp;
- unsigned int
length
= (pd->callbacks_count | 0xF) + 1;
+ unsigned int
new_len
= (pd->callbacks_count | 0xF) + 1;
- tmp = realloc(pd->callbacks,
length
* sizeof (Eo_Callback_Description*));
+ tmp = realloc(pd->callbacks,
new_len
* sizeof (Eo_Callback_Description*));
if (!tmp) return ;
pd->callbacks = tmp;
}