diff options
Diffstat (limited to 'apps/recorder')
-rw-r--r-- | apps/recorder/keyboard.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/recorder/keyboard.c b/apps/recorder/keyboard.c index fed8605714..ceb8de00fb 100644 --- a/apps/recorder/keyboard.c +++ b/apps/recorder/keyboard.c | |||
@@ -255,7 +255,7 @@ static void kbd_inschar(struct edit_state *state, unsigned short ch) | |||
255 | 255 | ||
256 | len = strlen(state->text); | 256 | len = strlen(state->text); |
257 | utf8 = utf8encode(ch, tmp); | 257 | utf8 = utf8encode(ch, tmp); |
258 | j = (long)utf8 - (long)tmp; | 258 | j = (intptr_t)utf8 - (intptr_t)tmp; |
259 | 259 | ||
260 | if (len + j < state->buflen) | 260 | if (len + j < state->buflen) |
261 | { | 261 | { |