forked from enlightenment/efl
elm code - fix warning about sign comparisons
This commit is contained in:
parent
2c1aeef3d6
commit
4bd96d29d3
|
@ -192,9 +192,9 @@ EAPI void elm_code_file_save(Elm_Code_File *file)
|
|||
elm_code_line_text_trailing_whitespace_strip(line_item);
|
||||
content = elm_code_line_text_get(line_item, &length);
|
||||
|
||||
if (fwrite(content, sizeof(char), length, out) != length)
|
||||
if (fwrite(content, sizeof(char), length, out) != (size_t)length)
|
||||
break;
|
||||
if (fwrite(crchars, sizeof(char), crlength, out) != crlength)
|
||||
if (fwrite(crchars, sizeof(char), crlength, out) != (size_t)crlength)
|
||||
break;
|
||||
}
|
||||
fclose(out);
|
||||
|
|
Loading…
Reference in New Issue