From 923e58809a75cab44150e9d8ed5dd5ab8dbca56e Mon Sep 17 00:00:00 2001 From: iovar Date: Thu, 16 Nov 2006 18:48:24 +0000 Subject: changed temprary variable names in I16TOA(should not create conflicts but it's better anyway) git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@173 f606c939-3180-4ac9-a4b8-4b8779d57d0a --- recordmydesktop/include/recordmydesktop.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'recordmydesktop/include') diff --git a/recordmydesktop/include/recordmydesktop.h b/recordmydesktop/include/recordmydesktop.h index 811389f..74e30b8 100644 --- a/recordmydesktop/include/recordmydesktop.h +++ b/recordmydesktop/include/recordmydesktop.h @@ -675,19 +675,19 @@ int capture_busy, #define I16TOA(number,buffer){\ - int t_num=(number),k=0,i=0;\ + int t_num=(number),__k=0,__i=0;\ char *t_buf=malloc(8);\ t_num=t_num&((2<<15)-1);\ while(t_num>0){\ int digit=t_num%10;\ - t_buf[k]=digit+48;\ + t_buf[__k]=digit+48;\ t_num-=digit;\ t_num/=10;\ - k++;\ + __k++;\ }\ - while(k>0)\ - (buffer)[i++]=t_buf[--k];\ - (buffer)[i]='\0';\ + while(__k>0)\ + (buffer)[__i++]=t_buf[--__k];\ + (buffer)[__i]='\0';\ free(t_buf);\ };\ -- cgit v1.2.1