desktop: silence an implicit cast warning

This commit is contained in:
Andrew Tridgell 2011-10-11 20:25:10 +11:00
parent d11303ef78
commit bcb8fb1c7f
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ public:
/// A bitmask that removes any control bits from a key giving just the /// A bitmask that removes any control bits from a key giving just the
/// value. /// value.
/// ///
static const Key k_key_mask = ~(k_key_not_located | k_key_not_allocated); static const Key k_key_mask = (Key)(~(k_key_not_located | k_key_not_allocated));
/// The largest variable that will be saved to EEPROM. /// The largest variable that will be saved to EEPROM.
/// This affects the amount of stack space that is required by the ::save, ::load, /// This affects the amount of stack space that is required by the ::save, ::load,