9a4668667e
recording.c:2090:17: error: ordered comparison between pointer and zero ('cUnbufferedFile *' and 'int') if (Open() >= 0) { ~~~~~~ ^ ~ PR: 216058 Reported by: antoine (via exp-run)
11 lines
390 B
Text
11 lines
390 B
Text
--- recording.c.orig 2012-06-09 13:57:30 UTC
|
|
+++ recording.c
|
|
@@ -2075,7 +2075,7 @@ cUnbufferedFile *cFileName::SetOffset(in
|
|
}
|
|
// found a non existing file suffix
|
|
}
|
|
- if (Open() >= 0) {
|
|
+ if (Open()) {
|
|
if (!record && Offset >= 0 && file && file->Seek(Offset, SEEK_SET) != Offset) {
|
|
LOG_ERROR_STR(fileName);
|
|
return NULL;
|