aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/edbox.c6
-rw-r--r--src/edbox.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/edbox.c b/src/edbox.c
index 1429c8c..5f4371b 100644
--- a/src/edbox.c
+++ b/src/edbox.c
@@ -10,12 +10,12 @@
extern void __fastcall__ bell(void);
char *old_edbox[EDBOX_SIZE];
-static u16 old_len;
+static char old_len;
static char typeover;
char edbox_visible = 0;
-static u16 edbox_pos; /* range 0 to EDBOX_SIZE - 1 */
-u16 edbox_len; /* idem */
+static char edbox_pos; /* range 0 to EDBOX_SIZE - 1 */
+char edbox_len; /* idem */
void (*edbox_callback)(void);
diff --git a/src/edbox.h b/src/edbox.h
index a469eaa..d35723e 100644
--- a/src/edbox.h
+++ b/src/edbox.h
@@ -5,7 +5,7 @@
#define EDBOX_SIZE 240
extern char edbox_visible;
-extern u16 edbox_len;
+extern char edbox_len;
/* clear the contents of the edit box (whether it's visible or not) */
void edbox_clear(void);