raster pushed a commit to branch master.
commit c6309b44b29bcec354ac9280a54f239770f2666a
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date: Tue Jul 16 19:58:01 2013 +0900
fix clang sizeof complaint
---
src/lib/ecore_x/xlib/ecore_x_window_prop.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/lib/ecore_x/xlib/ecore_x_window_prop.c
b/src/lib/ecore_x/xlib/ecore_x_window_prop.c
index 535c521..286cdfc 100644
--- a/src/lib/ecore_x/xlib/ecore_x_window_prop.c
+++ b/src/lib/ecore_x/xlib/ecore_x_window_prop.c
@@ -160,7 +160,7 @@ ecore_x_window_prop_xid_set(Ecore_X_Window win,
unsigned int i;
LOGFN(__FILE__, __LINE__, __FUNCTION__);
- pl = malloc(num * sizeof(long));
+ pl = malloc(num * sizeof(unsigned long));
if (!pl)
return;
--
------------------------------------------------------------------------------
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