coverity: ftell returns long, not size_t (which is unsigned)

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
This commit is contained in:
Serge Hallyn 2013-08-20 16:50:25 -05:00
parent b4569e9321
commit 1fd9bd50ab

View File

@ -862,7 +862,7 @@ static bool create_run_template(struct lxc_container *c, char *tpath, bool quiet
bool prepend_lxc_header(char *path, const char *t, char *const argv[])
{
size_t flen;
long flen;
char *contents;
FILE *f;
#if HAVE_LIBGNUTLS