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