Removed all warnings.

This commit is contained in:
David Anderson
2004-04-01 05:53:22 +00:00
parent b0e6ea16ce
commit 4f4c87d9b2
15 changed files with 117 additions and 82 deletions

View File

@ -123,7 +123,7 @@ char* get_amxstring(AMX *amx,cell amx_addr,int id, int& len)
register cell* source = (cell *)(amx->base + (int)(((AMX_HEADER *)amx->base)->dat + amx_addr));
register char* dest = buffor[id];
char* start = dest;
while (*dest++=(char)*source++)
while ((*dest++=(char)(*source++)))
;
len = --dest - start;
return start;
@ -536,4 +536,4 @@ AMX_NATIVE_INFO string_Natives[] = {
{ "strtoupper", strtoupper },
{ "str_to_num", strtonum },
{ NULL, NULL }
};
};