Skip to content
Snippets Groups Projects
Commit a993b160 authored by Raymond Toy's avatar Raymond Toy
Browse files

Use CHAR_BIT instead of 8.

parent 28741656
No related branches found
No related tags found
No related merge requests found
...@@ -175,7 +175,7 @@ copy_sigmask(sigset_t *dst, sigset_t *src) ...@@ -175,7 +175,7 @@ copy_sigmask(sigset_t *dst, sigset_t *src)
#ifndef __linux__ #ifndef __linux__
*dst = *src; *dst = *src;
#else #else
memcpy(dst, src, NSIG / 8); memcpy(dst, src, NSIG / CHAR_BIT);
#endif #endif
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment