fds are pointers, not ints.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11516 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Miika Pekkarinen 2006-11-12 02:29:52 +00:00
parent 6684df4113
commit 3875b57667

View file

@ -67,7 +67,7 @@ int main()
idx_out = fopen("dict.index", "wb"); idx_out = fopen("dict.index", "wb");
desc_out = fopen("dict.desc", "wb"); desc_out = fopen("dict.desc", "wb");
if (in == NULL || idx_out < 0 || desc_out < 0) if (in == NULL || idx_out == NULL || desc_out == NULL)
{ {
fprintf(stderr, "Error: Some files couldn't be opened\n"); fprintf(stderr, "Error: Some files couldn't be opened\n");
return 1; return 1;