Skip to content
Snippets Groups Projects
Select Git revision
0 results

thread.h

  • ja3-saxby's avatar
    d29b876b
    Fixed a small issue with `thread_exit_code()` · d29b876b
    ja3-saxby authored
    The return type of this function was previously `const int *`, which is mistaken as the data type of the variable it returns is in fact `int`.
    This inconsistency passes silently as ints and pointers are often interchangeable in C, however it is not good practice hence the correction.
    d29b876b
    History
    Fixed a small issue with `thread_exit_code()`
    ja3-saxby authored
    The return type of this function was previously `const int *`, which is mistaken as the data type of the variable it returns is in fact `int`.
    This inconsistency passes silently as ints and pointers are often interchangeable in C, however it is not good practice hence the correction.