Commit 1fd9bd50 by Serge Hallyn

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

parent b4569e93
...@@ -862,7 +862,7 @@ static bool create_run_template(struct lxc_container *c, char *tpath, bool quiet ...@@ -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[]) bool prepend_lxc_header(char *path, const char *t, char *const argv[])
{ {
size_t flen; long flen;
char *contents; char *contents;
FILE *f; FILE *f;
#if HAVE_LIBGNUTLS #if HAVE_LIBGNUTLS
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment