summaryrefslogtreecommitdiff
path: root/src/lib/eina
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2015-05-11 14:03:44 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2015-05-11 14:03:44 +0900
commitb309a3e0f15fcb32ae82d686c7811bf8f2b16b42 (patch)
tree60b7160e97725ed4d759d2f208baf9c6cfcb5ed7 /src/lib/eina
parentb444540fe6baff2d62ff396ebd03daec2a557fd4 (diff)
eina debug monitor - dont shadow vars
Diffstat (limited to 'src/lib/eina')
-rw-r--r--src/lib/eina/eina_debug_monitor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/eina/eina_debug_monitor.c b/src/lib/eina/eina_debug_monitor.c
index 6d1b210604..16738ab86b 100644
--- a/src/lib/eina/eina_debug_monitor.c
+++ b/src/lib/eina/eina_debug_monitor.c
@@ -196,11 +196,11 @@ _eina_debug_monitor(void *data EINA_UNUSED)
196 if ((evlog) && (evlog->buf)) 196 if ((evlog) && (evlog->buf))
197 { 197 {
198 char tmp[12]; 198 char tmp[12];
199 unsigned int *size = (unsigned int *)(tmp + 0); 199 unsigned int *tmpsize = (unsigned int *)(tmp + 0);
200 char *op2 = "EVLG"; 200 char *op2 = "EVLG";
201 unsigned int *overflow = (unsigned int *)(tmp + 8); 201 unsigned int *overflow = (unsigned int *)(tmp + 8);
202 202
203 *size = (sizeof(tmp) - 4) + evlog->top; 203 *tmpsize = (sizeof(tmp) - 4) + evlog->top;
204 memcpy(tmp + 4, op2, 4); 204 memcpy(tmp + 4, op2, 4);
205 *overflow = evlog->overflow; 205 *overflow = evlog->overflow;
206 write(_eina_debug_monitor_service_fd, 206 write(_eina_debug_monitor_service_fd,