summaryrefslogtreecommitdiff
path: root/src/console_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/console_internal.h')
-rw-r--r--src/console_internal.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/console_internal.h b/src/console_internal.h
index 2adf602ab..6debe8a19 100644
--- a/src/console_internal.h
+++ b/src/console_internal.h
@@ -14,10 +14,8 @@
#include "console_type.h"
-enum {
- ICON_CMDLN_SIZE = 1024, ///< maximum length of a typed in command
- ICON_MAX_STREAMSIZE = 2048, ///< maximum length of a totally expanded command
-};
+static const uint ICON_CMDLN_SIZE = 1024; ///< maximum length of a typed in command
+static const uint ICON_MAX_STREAMSIZE = 2048; ///< maximum length of a totally expanded command
/** Return values of console hooks (#IConsoleHook). */
enum ConsoleHookResult {