diff options
| author | Miika Pekkarinen <miipekk@ihme.org> | 2006-11-12 02:29:52 +0000 |
|---|---|---|
| committer | Miika Pekkarinen <miipekk@ihme.org> | 2006-11-12 02:29:52 +0000 |
| commit | 3875b5766769a5f75d460614c0279aaad72e0922 (patch) | |
| tree | bbabfe80aa00ab9299ad380921707efac52a0e53 | |
| parent | 6684df41132b9d6fb646281bbacc95c09c400fe6 (diff) | |
| download | rockbox-3875b5766769a5f75d460614c0279aaad72e0922.zip rockbox-3875b5766769a5f75d460614c0279aaad72e0922.tar.gz rockbox-3875b5766769a5f75d460614c0279aaad72e0922.tar.bz2 rockbox-3875b5766769a5f75d460614c0279aaad72e0922.tar.xz | |
fds are pointers, not ints.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11516 a1c6a512-1295-4272-9138-f99709370657
| -rw-r--r-- | tools/rdf2binary.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/rdf2binary.c b/tools/rdf2binary.c index 3b3afd5..cfafcb2 100644 --- a/tools/rdf2binary.c +++ b/tools/rdf2binary.c @@ -67,7 +67,7 @@ int main() idx_out = fopen("dict.index", "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"); return 1; |