discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=4d72f840c95c03d942f17c7b5a53130e5e2cfe0d

commit 4d72f840c95c03d942f17c7b5a53130e5e2cfe0d
Author: Mike Blumenkrantz <zm...@samsung.com>
Date:   Wed Jan 15 18:49:53 2014 -0500

    fix void ptr arith warning
---
 src/modules/teamwork/e_mod_tw.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/modules/teamwork/e_mod_tw.c b/src/modules/teamwork/e_mod_tw.c
index 56043ec..c1e718f 100644
--- a/src/modules/teamwork/e_mod_tw.c
+++ b/src/modules/teamwork/e_mod_tw.c
@@ -976,7 +976,7 @@ tw_video_thread_cb(void *data, Ecore_Thread *eth)
 
         if (pos + num >= tot)
           num = tot - pos;
-        if (write(fd, buf + pos, num) < 0)
+        if (write(fd, (char*)buf + pos, num) < 0)
           {
              ERR("WRITE FAILED: %s", strerror(errno));
              ecore_thread_cancel(eth);

-- 


Reply via email to