raster pushed a commit to branch master.
commit cc400c5c7f619b0d75152ebff3e8bf3db7a84d5d
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date: Tue Jul 16 20:02:00 2013 +0900
fix clang sizeof complaint
---
src/lib/ecore_con/ecore_con_eet.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/lib/ecore_con/ecore_con_eet.c
b/src/lib/ecore_con/ecore_con_eet.c
index d3b6220..8f3574a 100644
--- a/src/lib/ecore_con/ecore_con_eet.c
+++ b/src/lib/ecore_con/ecore_con_eet.c
@@ -323,7 +323,7 @@ _ecore_con_eet_data(Ecore_Con_Reply *n, void *data,
unsigned int size)
n->buffer_length = data_length;
n->buffer_current = 0;
if (n->buffer_handler)
- n->buffer = malloc(sizeof (char) * data_length);
+ n->buffer = malloc(sizeof (unsigned char) *
data_length);
else
n->buffer = (void*) 1;
if (n->buffer)
--
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk