diff options
-rw-r--r-- | include/llvm/Function.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Function.h b/include/llvm/Function.h index f2b1a4f436..4a078d6845 100644 --- a/include/llvm/Function.h +++ b/include/llvm/Function.h @@ -158,7 +158,7 @@ public: /// void addFnAttr(Attributes N) { // Function Attributes are stored at ~0 index - addAttribute(~0, N); + addAttribute(~0U, N); } /// hasGC/getGC/setGC/clearGC - The name of the garbage collection algorithm |