Fixed warnings

This commit is contained in:
Robert Osfield 2008-12-16 12:23:30 +00:00
parent de1031b264
commit f63d33c003
2 changed files with 5 additions and 5 deletions

View File

@ -591,7 +591,7 @@ TX_EXDECL class TX_CLDECL trpgLightAttr : public trpgReadWriteable
} LightQuality; } LightQuality;
// Struct for Performer Lights // Struct for Performer Lights
typedef struct PerformerAttr struct PerformerAttr
{ {
PerformerAttr() : flags(0),minPixelSize(0),maxPixelSize(0),actualSize(0), PerformerAttr() : flags(0),minPixelSize(0),maxPixelSize(0),actualSize(0),
transparentPixelSize(0),transparentFallofExp(0),transparentScale(0), transparentPixelSize(0),transparentFallofExp(0),transparentScale(0),
@ -608,7 +608,7 @@ TX_EXDECL class TX_CLDECL trpgLightAttr : public trpgReadWriteable
}; };
// Struct for Animated Lights // Struct for Animated Lights
typedef struct AnimationAttr struct AnimationAttr
{ {
AnimationAttr() : period(0),phaseDelay(0),timeOn(0),vector(trpg3dPoint(0,0,0)),flags(0) {}; AnimationAttr() : period(0),phaseDelay(0),timeOn(0),vector(trpg3dPoint(0,0,0)),flags(0) {};
float64 period; float64 period;
@ -619,7 +619,7 @@ TX_EXDECL class TX_CLDECL trpgLightAttr : public trpgReadWriteable
}; };
// Struct for Calligraphic Lights // Struct for Calligraphic Lights
typedef struct CalligraphicAttr struct CalligraphicAttr
{ {
CalligraphicAttr() : drawOrder(0),minDefocus(0),maxDefocus(0) {} ; CalligraphicAttr() : drawOrder(0),minDefocus(0),maxDefocus(0) {} ;
int32 drawOrder; int32 drawOrder;

View File

@ -100,8 +100,8 @@ bool trpgFilePrintBuffer::prnLine(const char *str)
if (str) if (str)
{ {
fprintf(fp,indentStr); fprintf(fp,"%s",indentStr);
fprintf(fp,str); fprintf(fp,"%s",str);
fprintf(fp,"\n"); fprintf(fp,"\n");
} else } else
fprintf(fp,"\n"); fprintf(fp,"\n");