From 40fb9d3e58fcb28778c57a835795ff4a1ef90b98 Mon Sep 17 00:00:00 2001 From: Nat Goodspeed Date: Mon, 19 Dec 2016 16:30:19 -0500 Subject: DRTVWR-418: Use U32 for int (and hex) of HttpStatus in 64-bit too. Turns out that Monty didn't intend for the int-flavored representation of HttpStatus to expand to 64 bits even when unsigned long is that wide. So change the implicit conversion operator, and its uses, to U32 instead. That produces a consistent toHex() result for both 32-bit and 64-bit builds. --- indra/llcorehttp/tests/test_httpstatus.hpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'indra/llcorehttp/tests/test_httpstatus.hpp') diff --git a/indra/llcorehttp/tests/test_httpstatus.hpp b/indra/llcorehttp/tests/test_httpstatus.hpp index 10cda799e7..cbe3f574d4 100644 --- a/indra/llcorehttp/tests/test_httpstatus.hpp +++ b/indra/llcorehttp/tests/test_httpstatus.hpp @@ -244,11 +244,7 @@ void HttpStatusTestObjectType::test<7>() HttpStatus status(404); std::string msg = status.toHex(); // std::cout << "Result: " << msg << std::endl; -#if ADDRESS_SIZE == 32 ensure_equals(msg, "01940001"); -#else - ensure_equals(msg, "19400000001"); -#endif } -- cgit v1.2.3