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:
parent
6684df4113
commit
3875b57667
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue