]> granicus.if.org Git - clang/commitdiff
memset takes an int, not a char.
authorChris Lattner <sabre@nondot.org>
Fri, 30 Jan 2009 20:03:59 +0000 (20:03 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 30 Jan 2009 20:03:59 +0000 (20:03 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63414 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/AST/Builtins.def

index 07c751db3ee4e848064e154e36645cb76505af11..7d8f27a23687eb5eaac2c83f49d7751e4024f444 100644 (file)
@@ -123,7 +123,7 @@ BUILTIN(__builtin_stdarg_start, "vA.", "n")
 BUILTIN(__builtin_bzero, "vv*z", "n")
 BUILTIN(__builtin_memcpy, "v*v*vC*z", "n")
 BUILTIN(__builtin_memmove, "v*v*vC*z", "n")
-BUILTIN(__builtin_memset, "v*v*cz", "n")
+BUILTIN(__builtin_memset, "v*v*iz", "n")
 BUILTIN(__builtin_return_address, "v*Ui", "n")
 BUILTIN(__builtin_frame_address, "v*Ui", "n")
 BUILTIN(__builtin_flt_rounds, "i", "nc")