From: Serge Hallyn Date: Thu, 3 Oct 2013 17:10:07 +0000 (-0500) Subject: confile.c: cast size_t to prevent compile failure on 386 X-Git-Tag: lxc-1.0.0.alpha2~55 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a5a82508547320372b1d935193b85e80884e1e29;p=thirdparty%2Flxc.git confile.c: cast size_t to prevent compile failure on 386 Signed-off-by: Serge Hallyn --- diff --git a/src/lxc/confile.c b/src/lxc/confile.c index a31479ed0..106ed4fce 100644 --- a/src/lxc/confile.c +++ b/src/lxc/confile.c @@ -235,7 +235,7 @@ static int config_string_item_max(char **conf_item, const char *value, size_t max) { if (strlen(value) >= max) { - ERROR("%s is too long (>= %lu)", value, max); + ERROR("%s is too long (>= %lu)", value, (unsigned long)max); return -1; }