# HG changeset patch
# User Andrey Skvortsov <andrej.skvortzov@gmail.com>
# Date 1462524482 -10800
# Node ID 59435d4c5e0cef3b0d22a4a80c19a72067c8bc13
# Parent  afb3974f8fb3b771ca19274d4d9474b59b13962b
fix compilation error about missing braces

IEC_TIMESPEC has two fields tv_sec and tv_nsec.

Compilation error:
./build/POUS.c:600:45: error: missing braces around initializer [-Werror=missing-braces]
   static const STEP temp_step = {{0, 0}, 0, {0, 0}};
                                             ^
compilation terminated due to -Wfatal-errors.

diff -r afb3974f8fb3 -r 59435d4c5e0c stage4/generate_c/generate_c_sfcdecl.cc
--- a/stage4/generate_c/generate_c_sfcdecl.cc	Fri May 06 11:38:35 2016 +0300
+++ b/stage4/generate_c/generate_c_sfcdecl.cc	Fri May 06 11:48:02 2016 +0300
@@ -130,7 +130,7 @@
           wanted_sfcdeclaration = sfcinit_sd;
           
           /* steps table initialisation */
-          s4o.print(s4o.indent_spaces + "static const STEP temp_step = {{0, 0}, 0, {0, 0}};\n");
+          s4o.print(s4o.indent_spaces + "static const STEP temp_step = {{0, 0}, 0, {{0, 0}, 0}};\n");
           s4o.print(s4o.indent_spaces + "for(i = 0; i < ");
           print_variable_prefix();
           s4o.print("__nb_steps; i++) {\n");