From e04b15d7a4a547c18b7ce469ef4ac3b48c00ed56 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sun, 25 Mar 2012 20:40:47 +1100 Subject: Avoid warnings from example code. --- test/examples/x.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/examples/x.cxx') diff --git a/test/examples/x.cxx b/test/examples/x.cxx index 3c90b5e56..811a4034a 100644 --- a/test/examples/x.cxx +++ b/test/examples/x.cxx @@ -7,5 +7,5 @@ int main() { double x[] = {3.14159,6.02e23,1.6e-19,1.0+1}; int y[] = {75,0113,0x4b}; - printf("hello world %d\n", 9); + printf("hello world %d %g\n", y[0], x[0]); } -- cgit v1.2.3