summaryrefslogtreecommitdiffstats
path: root/o3d/import/cross/tar_generator.cc
diff options
context:
space:
mode:
Diffstat (limited to 'o3d/import/cross/tar_generator.cc')
-rw-r--r--o3d/import/cross/tar_generator.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/o3d/import/cross/tar_generator.cc b/o3d/import/cross/tar_generator.cc
index cbfab24..6c21ac0 100644
--- a/o3d/import/cross/tar_generator.cc
+++ b/o3d/import/cross/tar_generator.cc
@@ -158,7 +158,7 @@ bool TarGenerator::AddEntry(const String &file_name,
bool is_directory) {
// If filename is longer 99 chars, use the GNU format to write out a longer
// filename.
- if (file_name.size() >= kMaxFilenameSizeOldFormat) {
+ if (file_name.size() >= static_cast<unsigned>(kMaxFilenameSizeOldFormat)) {
WriteHeader(kLongLink,
file_name.size(),
'L',