C--: fix some compiler warnings

git-svn-id: svn://kolibrios.org@1849 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Yogev Ezra 2011-02-05 18:09:12 +00:00
parent 0c96c62ef9
commit 7e7119cdc5
2 changed files with 5 additions and 4 deletions

View File

@ -141,7 +141,7 @@ dword pname1,pname2,j;
_llseek(dll,fptr+6,0); _lread(dll,#nsect,2); // Number of sections
delta=export;
i=1;
while(i<=nsect){
WHILE(i<=nsect){
EAX=i; EAX--; EAX=EAX*40; EAX+=260; EAX+=fptr; // fptr+260+40*(i-1)
_llseek(dll,EAX,0); _lread(dll,#base,4); // RVA of section
IF(base<=export){
@ -273,7 +273,7 @@ byte var_name[IDLENGTH];
linenum2++; // Ž¡­ à㦥­ ª®­¥æ áâப¨
totallines++;
}
else if(AL=='}'){ // ¡«®ª § ªàëâ
else IF(AL=='}'){ // ¡«®ª § ªàëâ
count--;
IF(count==0){ // ª®­¥æ ¯à®æ¥¤ãàë
ESI><inptr2;

View File

@ -1,3 +1,4 @@
#define STRING_ERROR "string found in tree when trying to add to it"
// ---- ‡ ­¥á¥­¨¥ ¯®¨¬¥­®¢ ­­®© ª®­áâ ­âë ¢ ᯨ᮪
AddConstToTree(dword keystring,constvalue)
dword ptr,newptr; // idrec structure
@ -32,7 +33,7 @@ dword ptr,newptr; // idrec structure
}
ptr=DSDWORD[ESI+right];
}
ELSE internalerror("string found in tree when trying to add to it");
ELSE internalerror(STRING_ERROR);
}
}
// ”®à¬¨à㥬 ­®¢ãî § ¯¨áì ¢ ᯨ᪥
@ -110,7 +111,7 @@ dword ptr,newptr;
}
ptr=DSDWORD[ESI+right];
}
ELSE internalerror("string found in tree when trying to add to it");
ELSE internalerror(STRING_ERROR);
}
}
ESI=newptr;