Skip to content

Commit

Permalink
Update dtypes.h to fix C4146 in Visual C++ (JuliaLang#33511)
Browse files Browse the repository at this point in the history
  • Loading branch information
taoyouh authored and JeffBezanson committed Oct 10, 2019
1 parent 99483b5 commit 1ed2e1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/support/dtypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ STATIC_INLINE unsigned int next_power_of_two(unsigned int val) JL_NOTSAFEPOINT
return val;
}

#define LLT_ALIGN(x, sz) (((x) + (sz)-1) & -(sz))
#define LLT_ALIGN(x, sz) (((x) + (sz)-1) & ~((sz)-1))

// branch prediction annotations
#ifdef __GNUC__
Expand Down

0 comments on commit 1ed2e1d

Please sign in to comment.