diff options
author | Sander Vrijders <[email protected]> | 2016-07-05 15:58:54 +0200 |
---|---|---|
committer | Sander Vrijders <[email protected]> | 2016-07-05 16:34:32 +0200 |
commit | daa4e408b3e34bdc228d26816de09d7d1fb9b043 (patch) | |
tree | e29e96e96586cb93b288159e9933b3da2e20fcd3 /src/irmd | |
parent | 63510348c9dd72e0f1d9146cfb90f88adb34e1eb (diff) | |
download | ouroboros-daa4e408b3e34bdc228d26816de09d7d1fb9b043.tar.gz ouroboros-daa4e408b3e34bdc228d26816de09d7d1fb9b043.zip |
lib, irmd: Fix clang and CI compilation errors
This commit fixes some errors reported during compilation that were
undiscovered by my gcc compiler but found by clang, and errors not
found on my system but found by the CI platform.
Diffstat (limited to 'src/irmd')
-rw-r--r-- | src/irmd/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irmd/main.c b/src/irmd/main.c index 2ea59eee..38e10cc5 100644 --- a/src/irmd/main.c +++ b/src/irmd/main.c @@ -1936,7 +1936,7 @@ void * irm_flow_cleaner() pthread_rwlock_rdlock(&instance->state_lock); - if (&instance->state == IRMD_NULL) { + if (instance->state == IRMD_NULL) { pthread_rwlock_unlock(&instance->state_lock); return (void *) 0; } |