more -pedantic warnings fixed

svn-id: r6109
This commit is contained in:
Max Horn 2002-12-25 00:38:53 +00:00
parent ce6913cf36
commit 563f99b1fe
8 changed files with 10 additions and 10 deletions

View File

@ -37,7 +37,7 @@ enum {
enum {
kListItemDoubleClickedCmd = 'LIdb', // double click on item - 'data' will be item index
kListItemActivatedCmd = 'LIac', // item activated by return/enter - 'data' will be item index
kListSelectionChangedCmd = 'Lsch', // selection changed - 'data' will be item index
kListSelectionChangedCmd = 'Lsch' // selection changed - 'data' will be item index
};
/* ListWidget */

View File

@ -31,7 +31,7 @@ enum {
kLineBufferSize = 256,
kCharWidth = 8,
kHistorySize = 20,
kHistorySize = 20
};
class ScrollBarWidget;

View File

@ -40,7 +40,7 @@ enum {
enum {
kTextAlignLeft,
kTextAlignCenter,
kTextAlignRight,
kTextAlignRight
};
// Extremly simple stack class, doesn't even do any error checking (for now)

View File

@ -55,7 +55,7 @@ enum {
enum {
kButtonWidth = 56,
kButtonHeight = 16,
kButtonHeight = 16
};

View File

@ -72,7 +72,7 @@ protected:
bool Cmd_Room(char _parameter[255][255]);
#ifdef USE_CONSOLE
static bool ScummDebugger::debuggerInputCallback(ConsoleDialog *console, const char *input, void *refCon);
static bool debuggerInputCallback(ConsoleDialog *console, const char *input, void *refCon);
#endif
};

View File

@ -476,12 +476,12 @@ enum {
kMusicVolumeChanged = 'muvc',
kSfxVolumeChanged = 'sfvc',
kOKCmd = 'ok ',
kCancelCmd = 'cncl',
kCancelCmd = 'cncl'
};
enum {
kKeysCmd = 'KEYS',
kAboutCmd = 'ABOU',
kAboutCmd = 'ABOU'
};
OptionsDialog::OptionsDialog(NewGui *gui, Scumm *scumm)

View File

@ -287,7 +287,7 @@ public:
pcChorus = 128,
pcPitchBendFactor = 256,
pcPriority = 512,
pcAll = 1023,
pcAll = 1023
};
private:
@ -2964,7 +2964,7 @@ void Player::sequencer_timer()
enum {
TYPE_PART = 1,
TYPE_PLAYER = 2,
TYPE_PLAYER = 2
};
int IMuseInternal::saveReference(void *me_ref, byte type, void *ref)

View File

@ -44,7 +44,7 @@ public:
~IMuse();
enum {
PROP_TEMPO_BASE = 1,
PROP_TEMPO_BASE = 1
};
void on_timer();