diff options
author | rlar <rlar> | 2016-02-29 19:41:04 +0100 |
---|---|---|
committer | Will Estes <westes575@gmail.com> | 2016-02-29 20:16:03 -0500 |
commit | d2c0374297b7dd687a89227f3e77ff3f244da94b (patch) | |
tree | 00f90edde731eb4fcee9212fee9220d848a739ba /src/misc.c | |
parent | 0f276adbb23542471bc30a2479e5fcdd5f475d72 (diff) |
add (int) casts to some strlen() invocations to prevent warnings
Diffstat (limited to 'src/misc.c')
-rw-r--r-- | src/misc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |