MSVC warning fixes

This commit is contained in:
ehofman
2003-07-23 09:59:39 +00:00
parent 7955319771
commit adb5fb3bee
3 changed files with 4 additions and 4 deletions

View File

@@ -4165,7 +4165,7 @@ static bool isPtendency(char *string, Decoded_METAR *Mptr, int *NDEX)
if(strlen(string) != 5)
return FALSE;
else if(*string == '5' && ('0' <= *(string+1) <= '8') &&
else if(*string == '5' && ('0' <= *(string+1) && *(string+1) <= '8') &&
(nisdigit(string+2,3) || strncmp(string+2,"///",3)
== 0) )
{

View File

@@ -1096,8 +1096,8 @@ bool ccap2std(char *, Devaddr *, Diskaddr *);
bool std2ccap(Devaddr *, Diskaddr *, char *);
char *strupr(char *);
char *strlwr(char *);
//char *strupr(char *);
//char *strlwr(char *);
//char *strdup(char *);
//int strcmpi(char *, char *);

View File

@@ -553,7 +553,7 @@ SGTexMultipleAnimation::SGTexMultipleAnimation( SGPropertyNode *prop_root,
: SGAnimation(props, new ssgTexTrans),
_prop((SGPropertyNode *)prop_root->getNode(props->getStringValue("property", "/null"), true))
{
int i;
unsigned int i;
// Load animations
vector<SGPropertyNode_ptr> transform_nodes = props->getChildren("transform");
_transform = new TexTransform [transform_nodes.size()];