From d5854a90cb58ed75da92aebc99061dd8133536d5 Mon Sep 17 00:00:00 2001 From: "berkeviktor@aol.com" Date: Tue, 25 Jan 2011 23:44:52 +0100 Subject: msvc compilation fixes --- plugins/mpcinfo/oggInfo.c | 46 ++++++++++++++++++++++++++++------------------ 1 file changed, 28 insertions(+), 18 deletions(-) (limited to 'plugins/mpcinfo/oggInfo.c') diff --git a/plugins/mpcinfo/oggInfo.c b/plugins/mpcinfo/oggInfo.c index d9afc3bf..83c2beb5 100644 --- a/plugins/mpcinfo/oggInfo.c +++ b/plugins/mpcinfo/oggInfo.c @@ -28,9 +28,9 @@ static int getOggInt(char *buff, int beg, int bytes){ static char *upperStr(char *text){ //if (DEBUG==1) putlog("converting text to uc"); //printf("upperStr(%s)\n",text); + int i; char *ret=(char*) malloc(sizeof(char)*(strlen(text)+1)); ret[strlen(text)]=0; - int i; for (i=0;i