summaryrefslogtreecommitdiff
path: root/tools/aapt/StringPool.cpp
diff options
context:
space:
mode:
authorKenny Root <kroot@google.com>2010-11-24 12:56:06 -0800
committerKenny Root <kroot@google.com>2010-12-08 11:21:30 -0800
commitddb76c4644756b31be948d70aaa8ee541dd94999 (patch)
tree782d260d2da982941148be7c1a0a0780749cdfdc /tools/aapt/StringPool.cpp
parent8028a951c3aa74990907efb9376d1093d84084af (diff)
Change assets to use 64-bit API
The asset system and supporting libraries were using off_t instead of off64_t to access files larger than 2GB (32-bit signed). This change replaces all off_t with off64_t and lseek64. There is a new utils/Compat.h added for Mac OS compatibility. Also fixed some size-related compiler warnings. Bug: 3205336 Change-Id: I9097b3cb7a602e811fe52f245939d8975da55e9e
Diffstat (limited to 'tools/aapt/StringPool.cpp')
-rw-r--r--tools/aapt/StringPool.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/aapt/StringPool.cpp b/tools/aapt/StringPool.cpp
index e28bdff410b0..d067d59006c6 100644
--- a/tools/aapt/StringPool.cpp
+++ b/tools/aapt/StringPool.cpp
@@ -30,7 +30,7 @@ void printStringPool(const ResStringPool* pool)
str = String8(pool->stringAt(s, &len)).string();
}
- printf("String #%d: %s\n", s, str);
+ printf("String #%zd: %s\n", s, str);
}
}