mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-15 04:32:24 +00:00
Fix to Wenum-compare
It seems the purpose is to define a constant as an anonymous enum. that behaviour triggers the enum compare. Let's make it a constant.
This commit is contained in:
parent
707cc1256f
commit
20ba7550cd
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ enum Mode {
|
|||
|
||||
const int nModes = mconnetMode + 1;
|
||||
|
||||
enum { minShortrefMode = econMode };
|
||||
const int minShortrefMode = econMode;
|
||||
|
||||
#ifdef SP_NAMESPACE
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue