diff options
Diffstat (limited to 'expand.c')
-rw-r--r-- | expand.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -205,7 +205,7 @@ variable_expand_string (char *line, char *string, long length) p1 = strchr (p, '$'); - o = variable_buffer_output (o, p, p1 != 0 ? p1 - p : strlen (p) + 1); + o = variable_buffer_output (o, p, p1 != 0 ? (unsigned int)(p1 - p) : strlen (p) + 1); if (p1 == 0) break; |