aboutsummaryrefslogtreecommitdiff
path: root/src/common/android/testing
diff options
context:
space:
mode:
authorted.mielczarek@gmail.com <ted.mielczarek@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e>2013-02-01 19:20:34 +0000
committerted.mielczarek@gmail.com <ted.mielczarek@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e>2013-02-01 19:20:34 +0000
commitbd6d0964e77f8235836df471ef84e94bd8bc9087 (patch)
tree83d93b9a6772814c67f290a32e2784924b34368a /src/common/android/testing
parent Add API to find out if there is crash reports to send to the server. (diff)
downloadbreakpad-bd6d0964e77f8235836df471ef84e94bd8bc9087.tar.xz
Fix some issues with -Werror=sign-compare on Android builds
R=digit at https://breakpad.appspot.com/524002/ git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1110 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/common/android/testing')
-rw-r--r--src/common/android/testing/mkdtemp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/android/testing/mkdtemp.h b/src/common/android/testing/mkdtemp.h
index 063e356f..85644c9f 100644
--- a/src/common/android/testing/mkdtemp.h
+++ b/src/common/android/testing/mkdtemp.h
@@ -57,7 +57,7 @@ char* mkdtemp(char* path) {
const size_t kSuffixLen = strlen(kSuffix);
char* path_end = path + strlen(path);
- if (path_end - path < kSuffixLen ||
+ if (static_cast<size_t>(path_end - path) < kSuffixLen ||
memcmp(path_end - kSuffixLen, kSuffix, kSuffixLen) != 0) {
errno = EINVAL;
return NULL;