mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2026-03-10 08:36:28 +00:00
Cleaning up google-breakpad source code of signed-unsigned comparison warnings
http://breakpad.appspot.com/488002/ git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1083 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
@@ -48,7 +48,7 @@ TEST(SafeReadLinkTest, BoundaryBufferSize) {
|
||||
char buffer[PATH_MAX];
|
||||
EXPECT_TRUE(SafeReadLink("/proc/self/exe", buffer, sizeof(buffer)));
|
||||
size_t path_length = strlen(buffer);
|
||||
EXPECT_LT(0, path_length);
|
||||
EXPECT_LT(0U, path_length);
|
||||
EXPECT_GT(sizeof(buffer), path_length);
|
||||
|
||||
// Buffer size equals to the expected path length plus 1 for the NULL byte.
|
||||
|
||||
Reference in New Issue
Block a user