diff options
-rw-r--r-- | src/PSEditModel.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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"); } } |