summaryrefslogtreecommitdiffstats
path: root/courgette/encoded_program_unittest.cc
diff options
context:
space:
mode:
authorsra@google.com <sra@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-18 03:28:40 +0000
committersra@google.com <sra@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-18 03:28:40 +0000
commit54f1b829fe53c48b82440e7c8482e2b6ca397995 (patch)
tree5600358a8d8fac77ea4a7730fca9c4b6cbe09108 /courgette/encoded_program_unittest.cc
parent4efe77c3fd39df0dc03b0d73ca0ba24c6e66ff28 (diff)
downloadchromium_src-54f1b829fe53c48b82440e7c8482e2b6ca397995.zip
chromium_src-54f1b829fe53c48b82440e7c8482e2b6ca397995.tar.gz
chromium_src-54f1b829fe53c48b82440e7c8482e2b6ca397995.tar.bz2
Code changes to get the code to compile under GCC.
Courgette still only knows how to compress Windows x86 executables. But now you can compress them on linux. BUG=none TEST=none Review URL: http://codereview.chromium.org/149597 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21042 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'courgette/encoded_program_unittest.cc')
-rw-r--r--courgette/encoded_program_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/courgette/encoded_program_unittest.cc b/courgette/encoded_program_unittest.cc
index aedb838..fb3fd17 100644
--- a/courgette/encoded_program_unittest.cc
+++ b/courgette/encoded_program_unittest.cc
@@ -53,7 +53,7 @@ TEST(EncodedProgramTest, Test) {
const void* assembled_buffer = assembled.Buffer();
size_t assembled_length = assembled.Length();
- EXPECT_EQ(8, assembled_length);
+ EXPECT_EQ(8U, assembled_length);
static const uint8 golden[] = {
0x04, 0x00, 0x90, 0x00, // ABS32 to base + 4