From 3fbd2dd020819fcfd7cef2aa6a17fad73c41a0ee Mon Sep 17 00:00:00 2001 From: "zhanyong.wan" Date: Thu, 26 Mar 2009 19:06:45 +0000 Subject: Makes gmock compile with gcc -Wall -Wextra -Wno-unused-parameter. --- test/gmock_link_test.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/gmock_link_test.h b/test/gmock_link_test.h index 96cd79fb..4e0adb71 100644 --- a/test/gmock_link_test.h +++ b/test/gmock_link_test.h @@ -501,7 +501,7 @@ TEST(LinkTest, TestMatcherRef) { // Tests the linkage of the TypedEq matcher. TEST(LinkTest, TestMatcherTypedEq) { Mock mock; - unsigned long a = 0; + long a = 0; ON_CALL(mock, VoidFromIntRef(TypedEq(a))).WillByDefault(Return()); } -- cgit v1.2.3