diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2012-05-03 21:44:12 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2012-05-03 21:44:12 +0000 |
commit | 8b08adb279e7db69c65461f7c0029344dc3e4e5f (patch) | |
tree | 37d08c2d341967c40402e9690eb2dee121ab1d5b /lib/Rewrite/RewriteModernObjC.cpp | |
parent | f9e156c774e08409f235f0e9c9e3133ec796e877 (diff) |
modern objc translator: used size_t in couple
of places. // rdar://11375908
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156106 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Rewrite/RewriteModernObjC.cpp')
-rw-r--r-- | lib/Rewrite/RewriteModernObjC.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Rewrite/RewriteModernObjC.cpp b/lib/Rewrite/RewriteModernObjC.cpp index 3863d48374..6330f671e2 100644 --- a/lib/Rewrite/RewriteModernObjC.cpp +++ b/lib/Rewrite/RewriteModernObjC.cpp @@ -4053,8 +4053,8 @@ std::string RewriteModernObjC::SynthesizeBlockDescriptor(std::string DescTag, unsigned hasCopy) { std::string S = "\nstatic struct " + DescTag; - S += " {\n unsigned long reserved;\n"; - S += " unsigned long Block_size;\n"; + S += " {\n size_t reserved;\n"; + S += " size_t Block_size;\n"; if (hasCopy) { S += " void (*copy)(struct "; S += ImplTag; S += "*, struct "; |