aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarat Dukhan <maratek@gmail.com>2015-08-23 22:24:48 -0400
committerMarat Dukhan <maratek@gmail.com>2015-08-23 22:24:48 -0400
commitc058bd391873361b4c3fdefee6f7fa5400f54352 (patch)
tree0a81c636e338d1d62e31dd8471a66f58d236a357 /src
parent42c2d4b378836e47795f7a8c6bd0099c55df0f51 (diff)
downloadpthreadpool-c058bd391873361b4c3fdefee6f7fa5400f54352.tar.gz
Fixed typo: use __uint128_t instead of uint128_t
Diffstat (limited to 'src')
-rw-r--r--src/pthreadpool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pthreadpool.c b/src/pthreadpool.c
index f270204..8caf5a5 100644
--- a/src/pthreadpool.c
+++ b/src/pthreadpool.c
@@ -234,7 +234,7 @@ static inline size_t multiply_divide(size_t a, size_t b, size_t d) {
#if defined(__SIZEOF_SIZE_T__) && (__SIZEOF_SIZE_T__ == 4)
return (size_t) (((uint64_t) a) * ((uint64_t) b)) / ((uint64_t) d);
#elif defined(__SIZEOF_SIZE_T__) && (__SIZEOF_SIZE_T__ == 8)
- return (size_t) (((uint128_t) a) * ((uint128_t) b)) / ((uint128_t) d);
+ return (size_t) (((__uint128_t) a) * ((__uint128_t) b)) / ((__uint128_t) d);
#else
#error "Unsupported platform"
#endif