ecore: Fix shadow warning

SVN revision: 62554
This commit is contained in:
Sebastian Dransfeld 2011-08-18 07:35:12 +00:00
parent 402ff0f918
commit 82bb3a62af
1 changed files with 3 additions and 3 deletions

View File

@ -465,16 +465,16 @@ _ecore_fps_debug_init(void)
if (_ecore_fps_debug_fd >= 0)
{
unsigned int zero = 0;
char *buf = (char *)&zero;
char *buf2 = (char *)&zero;
ssize_t todo = sizeof(unsigned int);
while (todo > 0)
{
ssize_t r = write(_ecore_fps_debug_fd, buf, todo);
ssize_t r = write(_ecore_fps_debug_fd, buf2, todo);
if (r > 0)
{
todo -= r;
buf += r;
buf2 += r;
}
else if ((r < 0) && (errno == EINTR))
continue;