mirror of
https://github.com/sanni/cartreader.git
synced 2024-11-27 23:14:14 +01:00
Fixed return value
This commit is contained in:
parent
c471a9161e
commit
b90aa90131
@ -15,7 +15,7 @@ int32_t readClockOffset() {
|
|||||||
clock_file.close();
|
clock_file.close();
|
||||||
if(i == -1) {
|
if(i == -1) {
|
||||||
free(clock_buf);
|
free(clock_buf);
|
||||||
return 0;
|
return INT32_MIN;
|
||||||
} else if(i < 16) {
|
} else if(i < 16) {
|
||||||
clock_buf[i] = 0;
|
clock_buf[i] = 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user