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
+1 -1
View File
@@ -4165,7 +4165,7 @@ static bool isPtendency(char *string, Decoded_METAR *Mptr, int *NDEX)
if(strlen(string) != 5) if(strlen(string) != 5)
return FALSE; 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) (nisdigit(string+2,3) || strncmp(string+2,"///",3)
== 0) ) == 0) )
{ {
+2 -2
View File
@@ -1096,8 +1096,8 @@ bool ccap2std(char *, Devaddr *, Diskaddr *);
bool std2ccap(Devaddr *, Diskaddr *, char *); bool std2ccap(Devaddr *, Diskaddr *, char *);
char *strupr(char *); //char *strupr(char *);
char *strlwr(char *); //char *strlwr(char *);
//char *strdup(char *); //char *strdup(char *);
//int strcmpi(char *, char *); //int strcmpi(char *, char *);
+1 -1
View File
@@ -553,7 +553,7 @@ SGTexMultipleAnimation::SGTexMultipleAnimation( SGPropertyNode *prop_root,
: SGAnimation(props, new ssgTexTrans), : SGAnimation(props, new ssgTexTrans),
_prop((SGPropertyNode *)prop_root->getNode(props->getStringValue("property", "/null"), true)) _prop((SGPropertyNode *)prop_root->getNode(props->getStringValue("property", "/null"), true))
{ {
int i; unsigned int i;
// Load animations // Load animations
vector<SGPropertyNode_ptr> transform_nodes = props->getChildren("transform"); vector<SGPropertyNode_ptr> transform_nodes = props->getChildren("transform");
_transform = new TexTransform [transform_nodes.size()]; _transform = new TexTransform [transform_nodes.size()];