summaryrefslogtreecommitdiff
path: root/src/lib/elementary
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-02-19 15:48:41 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-02-19 15:48:41 +0900
commit4bd96d29d392524e62fbdfef8076abd55519f6f3 (patch)
tree92c217b78bafc5cea11d5565dead5badd0218130 /src/lib/elementary
parent2c1aeef3d6f7f035dad2625a7ea06b44eff91deb (diff)
elm code - fix warning about sign comparisons
Diffstat (limited to 'src/lib/elementary')
-rw-r--r--src/lib/elementary/elm_code_file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/elementary/elm_code_file.c b/src/lib/elementary/elm_code_file.c
index ac9626c8eb..1094929f1a 100644
--- a/src/lib/elementary/elm_code_file.c
+++ b/src/lib/elementary/elm_code_file.c
@@ -192,9 +192,9 @@ EAPI void elm_code_file_save(Elm_Code_File *file)
192 elm_code_line_text_trailing_whitespace_strip(line_item); 192 elm_code_line_text_trailing_whitespace_strip(line_item);
193 content = elm_code_line_text_get(line_item, &length); 193 content = elm_code_line_text_get(line_item, &length);
194 194
195 if (fwrite(content, sizeof(char), length, out) != length) 195 if (fwrite(content, sizeof(char), length, out) != (size_t)length)
196 break; 196 break;
197 if (fwrite(crchars, sizeof(char), crlength, out) != crlength) 197 if (fwrite(crchars, sizeof(char), crlength, out) != (size_t)crlength)
198 break; 198 break;
199 } 199 }
200 fclose(out); 200 fclose(out);