diff options
author | phintuka <phintuka> | 2008-05-18 20:24:51 +0000 |
---|---|---|
committer | phintuka <phintuka> | 2008-05-18 20:24:51 +0000 |
commit | 81a77560e0a86ed522d779386e44e75c78d15f5d (patch) | |
tree | 3b1f8e03fa26334df12e07ecbcd68b9bf7dd06a4 /config.c | |
parent | c52a5aaa951edb207f74240e06367a8b0384c0c0 (diff) | |
download | xineliboutput-81a77560e0a86ed522d779386e44e75c78d15f5d.tar.gz xineliboutput-81a77560e0a86ed522d779386e44e75c78d15f5d.tar.bz2 |
int -> size_t
Diffstat (limited to 'config.c')
-rw-r--r-- | config.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: config.c,v 1.63 2008-04-29 12:44:25 phintuka Exp $ + * $Id: config.c,v 1.64 2008-05-18 20:24:51 phintuka Exp $ * */ @@ -239,7 +239,7 @@ static char *strcatrealloc(char *dest, const char *src) if (!src || !*src) return dest; - int l = (dest ? strlen(dest) : 0) + strlen(src) + 1; + size_t l = (dest ? strlen(dest) : 0) + strlen(src) + 1; if(dest) { dest = (char *)realloc(dest, l); strcat(dest, src); |