diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2009-01-15 16:59:04 +0100 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2009-01-15 16:59:04 +0100 |
commit | 4f1fbaa53881517b7967e8626e1c9b3e7b8d2ea1 (patch) | |
tree | e88d1bd66382c3ab982de97d8013cb7bb60539d0 | |
parent | 2c0a9e8b6669307e0d8c9c11f85b65152bcb4845 (diff) |
avoid warning
-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"); } } |