File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -328,12 +328,12 @@ extern "C"
328
328
})
329
329
330
330
# define div_const (n , base ) \
331
- ((sizeof(typeof(n) ) == sizeof(uint64_t)) ? div64_const(n, base) : ((n) / (base)))
331
+ ((sizeof(n ) == sizeof(uint64_t)) ? div64_const(n, base) : ((n) / (base)))
332
332
# define div_const_roundup (n , base ) \
333
- ((sizeof(typeof(n) ) == sizeof(uint64_t)) ? div64_const((n) + (base) - 1, base) : \
333
+ ((sizeof(n ) == sizeof(uint64_t)) ? div64_const((n) + (base) - 1, base) : \
334
334
(((n) + (base) - 1) / (base)))
335
335
# define div_const_roundnearest (n , base ) \
336
- ((sizeof(typeof(n) ) == sizeof(uint64_t)) ? div64_const((n) + ((base) / 2), base) : \
336
+ ((sizeof(n ) == sizeof(uint64_t)) ? div64_const((n) + ((base) / 2), base) : \
337
337
(((n) + ((base) / 2)) / (base)))
338
338
#else
339
339
# define div_const (n , base ) ((n) / (base))
You can’t perform that action at this time.
0 commit comments