]> granicus.if.org Git - clang/commitdiff
Use the correct return type (size_t) for these builtins.
authorBill Wendling <isanbard@gmail.com>
Tue, 18 Dec 2012 00:37:10 +0000 (00:37 +0000)
committerBill Wendling <isanbard@gmail.com>
Tue, 18 Dec 2012 00:37:10 +0000 (00:37 +0000)
<rdar://problem/12646344>

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@170393 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Basic/Builtins.def

index c905b0bd19cb435a90d73c310ca7176b3392d3d9..42d8fa7724a8519b263bb2031efe81aae7f4c25f 100644 (file)
@@ -462,8 +462,8 @@ BUILTIN(__builtin___memset_chk, "v*v*izz", "nF")
 BUILTIN(__builtin___stpcpy_chk, "c*c*cC*z", "nF")
 BUILTIN(__builtin___strcat_chk, "c*c*cC*z", "nF")
 BUILTIN(__builtin___strcpy_chk, "c*c*cC*z", "nF")
-BUILTIN(__builtin___strlcat_chk, "c*c*cC*zz", "nF")
-BUILTIN(__builtin___strlcpy_chk, "c*c*cC*zz", "nF")
+BUILTIN(__builtin___strlcat_chk, "zc*cC*zz", "nF")
+BUILTIN(__builtin___strlcpy_chk, "zc*cC*zz", "nF")
 BUILTIN(__builtin___strncat_chk, "c*c*cC*zz", "nF")
 BUILTIN(__builtin___strncpy_chk, "c*c*cC*zz", "nF")
 BUILTIN(__builtin___stpncpy_chk, "c*c*cC*zz", "nF")