mirror of
https://github.com/mauiaaron/apple2.git
synced 2025-02-23 03:29:03 +00:00
Fix potential NULL-dereference
This commit is contained in:
parent
5d405be27a
commit
b50d2c89cf
@ -46,7 +46,7 @@ static unsigned int g_nCyclesExecuted; // # of cycles executed up to last IO acc
|
||||
struct timespec timespec_diff(struct timespec start, struct timespec end, bool *negative) {
|
||||
struct timespec t;
|
||||
|
||||
if (*negative)
|
||||
if (negative)
|
||||
{
|
||||
*negative = false;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user