From 8177b74a52c8cf6ee79297e01536e4ac431f41e2 Mon Sep 17 00:00:00 2001 From: Owen Clarke Date: Mon, 5 Mar 2012 19:57:14 +1100 Subject: [PATCH] Unit Tests - Fixed compile warning caused by an ambiguous decimal type. --- test/t2.t.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/t2.t.cpp b/test/t2.t.cpp index c46c5e062..d91f615d3 100644 --- a/test/t2.t.cpp +++ b/test/t2.t.cpp @@ -90,7 +90,7 @@ int main (int argc, char** argv) // Task::get_ulong task.set ("two", "4294967295"); t.is (task.composeF4 (), "[name:\"value\" one:\"1\" two:\"4294967295\"]\n", "Task::set"); - t.is ((size_t)task.get_ulong ("two"), (size_t)4294967295, "Task::get_ulong"); + t.is ((size_t)task.get_ulong ("two"), (size_t)4294967295UL, "Task::get_ulong"); // Task::remove task.remove ("one");