fix void ptr arith warning

This commit is contained in:
Mike Blumenkrantz 2014-01-15 18:49:53 -05:00
parent a658e4c198
commit 4d72f840c9
1 changed files with 1 additions and 1 deletions

View File

@ -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);