diff options
Diffstat (limited to 'include/GenericsLibrary/pstd.nhh')
| -rw-r--r-- | include/GenericsLibrary/pstd.nhh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/GenericsLibrary/pstd.nhh b/include/GenericsLibrary/pstd.nhh index b8ac7ce..68154bd 100644 --- a/include/GenericsLibrary/pstd.nhh +++ b/include/GenericsLibrary/pstd.nhh @@ -17,16 +17,16 @@ extern __nrt_pthread_kill; //@ Parallel free let pfree_bytes(let ptr) { - if (ptr := 0) return 0; + if (ptr === 0) return 0; return __nrt_pfree(ptr); } //@ Parallel alloc (bytes) let palloc_bytes(let type, let sz, let align := 0) { - if (0 := align) return 0; - if (0 := type) return 0; - if (0 := sz) return 0; + if (0 !== align) return 0; + if (0 !== type) return 0; + if (0 !== sz) return 0; return __nrt_palloc(type, sz, align); } |
