commit | 6f970e845879f88a42741431696234956879e194 | [log] [tgz] |
---|---|---|
author | Filipe Cabecinhas <me@filcab.net> | Tue May 22 14:45:44 2012 +0000 |
committer | Filipe Cabecinhas <me@filcab.net> | Tue May 22 14:45:44 2012 +0000 |
tree | 9a276e5440b1a59fb5a6192b420d3264fbefa9ab | |
parent | f6985e3ab9d0ebd3128209c1b4bdd6f5dc817b52 [diff] [blame] |
Remove some compilation warnings. llvm-svn: 157253
diff --git a/lld/lib/Core/YamlWriter.cpp b/lld/lib/Core/YamlWriter.cpp index 03539c9..f3b3482 100644 --- a/lld/lib/Core/YamlWriter.cpp +++ b/lld/lib/Core/YamlWriter.cpp
@@ -423,7 +423,7 @@ private: // return a string of the correct number of spaces to align value - const char* spacePadding(int keyLen) { + const char* spacePadding(size_t keyLen) { const char* spaces = " "; assert(strlen(spaces) > keyLen); return &spaces[keyLen];