From 2eb77f58e6d39b355caf443fc87d0064df50fba5 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Mon, 1 Dec 2014 16:31:26 +0000 Subject: Use char * for logging as it can represent null --- project2/ice/slice2Common.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project2/ice/slice2Common.cpp b/project2/ice/slice2Common.cpp index 0c7df54..1b5f9ee 100644 --- a/project2/ice/slice2Common.cpp +++ b/project2/ice/slice2Common.cpp @@ -35,7 +35,7 @@ Slice2Common::FunctionBegin(Slice::OperationPtr o) fprintf(code, "ice @ %%p\", \n"); fprintf(code, "\t\t\t\t\t\t\t\t__PRETTY_FUNCTION__, "); BOOST_FOREACH(const auto & p, o->parameters()) { - fprintf(code, "%s(ec).as(), ", p->name().c_str()); + fprintf(code, "%s(ec).as(), ", p->name().c_str()); } fprintf(code, "ice);\n"); -- cgit v1.2.3