summaryrefslogtreecommitdiff
path: root/src/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/misc.c')
-rw-r--r--src/misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc.c b/src/misc.c
index 37a52bb..0d93e4b 100644
--- a/src/misc.c
+++ b/src/misc.c
@@ -138,7 +138,7 @@ static void action_m4_define (const char *defname, const char * value)
/* Append "new_text" to the running buffer. */
void add_action (const char *new_text)
{
- int len = strlen (new_text);
+ int len = (int) strlen (new_text);
while (len + action_index >= action_size - 10 /* slop */ ) {
int new_size = action_size * 2;