From 4f1fbaa53881517b7967e8626e1c9b3e7b8d2ea1 Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Thu, 15 Jan 2009 16:59:04 +0100 Subject: avoid warning --- src/PSEditModel.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/PSEditModel.cxx b/src/PSEditModel.cxx index 6b4de41..0eb6d60 100644 --- a/src/PSEditModel.cxx +++ b/src/PSEditModel.cxx @@ -255,7 +255,7 @@ int PSEditModel::load(FILE *fp) { while (fgets(linebuf, sizeof(linebuf), fp) != NULL) { if (!p2->parse(linebuf)) { ret = write(tmp_fd, linebuf, strlen(linebuf)); - if (ret != strlen(linebuf)) { + if (ret != (int) strlen(linebuf)) { fprintf(stderr, "Error while writing to temporary file\n"); } } -- cgit v1.2.3