aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--misc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/misc.c b/misc.c
index c3dc439..eb48628 100644
--- a/misc.c
+++ b/misc.c
@@ -38,11 +38,12 @@ double get_sec()
/* EOF means this is the last track; return invalid time */
if (items == EOF)
{
- return -1;
+ return -1.f;
}
if (items != 3)
{
+ /* FIXME doesn't explicitly close fin from cue-bin-split.c upon exit() */
fprintf(stderr, "Timestamp malformed\n");
exit(EXIT_FAILURE);
}