diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2021-04-09 17:19:23 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2021-04-09 17:19:23 +0200 |
| commit | 25c532610b748f0bd59878242b4cdccebd6dbf1e (patch) | |
| tree | 5f58efb4e49526b13b0d3f5bb12707a5d8ab88cc /src/libtools/threads.c | |
| parent | fcfd90b86fc5328c6c5c61e2921416c3cc8adba2 (diff) | |
| download | box64-25c532610b748f0bd59878242b4cdccebd6dbf1e.tar.gz box64-25c532610b748f0bd59878242b4cdccebd6dbf1e.zip | |
Fixed a warning
Diffstat (limited to 'src/libtools/threads.c')
| -rwxr-xr-x | src/libtools/threads.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libtools/threads.c b/src/libtools/threads.c index ce53d9d9..82f558f4 100755 --- a/src/libtools/threads.c +++ b/src/libtools/threads.c @@ -257,7 +257,7 @@ typedef struct aligned_attr_s { pthread_attr_t* getAlignedAttrWithInit(pthread_attr_t* attr, int init) { if(!attr) - return; + return attr; aligned_attr_t* at = (aligned_attr_t*)attr; if(init && at->sign==SIGN_ATTR) return at->at; |