aboutsummaryrefslogtreecommitdiffstats
path: root/src/stroke/stroke.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stroke/stroke.c')
-rw-r--r--src/stroke/stroke.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stroke/stroke.c b/src/stroke/stroke.c
index b7ee4319e..90fd16f0e 100644
--- a/src/stroke/stroke.c
+++ b/src/stroke/stroke.c
@@ -34,7 +34,7 @@ struct stroke_token {
static char* push_string(stroke_msg_t *msg, char *string)
{
- u_int string_start = msg->length;
+ unsigned long string_start = msg->length;
if (string == NULL || msg->length + strlen(string) >= sizeof(stroke_msg_t))
{