diff options
Diffstat (limited to 'src/core/stdautoaway')
| -rw-r--r-- | src/core/stdautoaway/src/options.cpp | 4 | ||||
| -rw-r--r-- | src/core/stdautoaway/src/stdafx.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/core/stdautoaway/src/options.cpp b/src/core/stdautoaway/src/options.cpp index 608f626753..5f176ab467 100644 --- a/src/core/stdautoaway/src/options.cpp +++ b/src/core/stdautoaway/src/options.cpp @@ -24,9 +24,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include "stdafx.h" -static const WORD aa_Status[] = { ID_STATUS_AWAY, ID_STATUS_NA, ID_STATUS_OCCUPIED, ID_STATUS_DND }; +static const uint16_t aa_Status[] = { ID_STATUS_AWAY, ID_STATUS_NA, ID_STATUS_OCCUPIED, ID_STATUS_DND }; -int IdleGetStatusIndex(WORD status) +int IdleGetStatusIndex(uint16_t status) { for (int j = 0; j < _countof(aa_Status); j++) if (aa_Status[j] == status) diff --git a/src/core/stdautoaway/src/stdafx.h b/src/core/stdautoaway/src/stdafx.h index 1e820ab127..4471a6ddf2 100644 --- a/src/core/stdautoaway/src/stdafx.h +++ b/src/core/stdautoaway/src/stdafx.h @@ -79,7 +79,7 @@ struct CMPlugin : public PLUGIN<CMPlugin> CMOption<uint8_t> bIdleCheck, bIdleMethod, bIdleOnSaver, bIdleOnFullScr, bIdleOnLock;
CMOption<uint8_t> bIdlePrivate, bIdleSoundsOff, bIdleOnTerminal, bIdleStatusLock;
CMOption<uint8_t> bAAEnable;
- CMOption<WORD> bAAStatus;
+ CMOption<uint16_t> bAAStatus;
CMOption<DWORD> iIdleTime1st;
};
|
