Changed: #825 Remove all warning when compiling Ryzom

This commit is contained in:
kervala 2010-10-18 09:59:59 +02:00
parent 7cd750c726
commit 54961449c3
2 changed files with 5 additions and 5 deletions

View file

@ -85,7 +85,7 @@ private:
void CGenericRequestIdRegister::pushRequestId(uint32 requestId,const std::string& fileName) void CGenericRequestIdRegister::pushRequestId(uint32 requestId,const std::string& fileName)
{ {
// check for out of order entries in the request list // check for out of order entries in the request list
BOMB_IF(!_RequestIds.empty() && ((sint32)requestId-(sint32)_RequestIds.back().RequestId)<0,"Ignoring out of order request id in generic callback registration for file "+CSString(fileName).quote(),return); BOMB_IF(!_RequestIds.empty() && (requestId<_RequestIds.back().RequestId),"Ignoring out of order request id in generic callback registration for file "+CSString(fileName).quote(),return);
// setup a new record for this request id / file name pair // setup a new record for this request id / file name pair
SRequestId theNewRequestId; SRequestId theNewRequestId;

View file

@ -47,10 +47,10 @@ public:
for (uint32 i='A'; i<='Z';++i) _Data[i]= true; for (uint32 i='A'; i<='Z';++i) _Data[i]= true;
for (uint32 i='a'; i<='z';++i) _Data[i]= true; for (uint32 i='a'; i<='z';++i) _Data[i]= true;
for (uint32 i='0'; i<='9';++i) _Data[i]= true; for (uint32 i='0'; i<='9';++i) _Data[i]= true;
_Data['/']= true; _Data[(uint32)'/']= true;
_Data['.']= true; _Data[(uint32)'.']= true;
_Data['_']= true; _Data[(uint32)'_']= true;
_Data[' ']= true; _Data[(uint32)' ']= true;
} }
// lookup a character to determine whether it's valid or not // lookup a character to determine whether it's valid or not