MSVC warning fixes
This commit is contained in:
@@ -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) )
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -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 *);
|
||||||
|
|
||||||
|
|||||||
@@ -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()];
|
||||||
|
|||||||
Reference in New Issue
Block a user