diff --git a/Compiler/runtime/System_omc.cpp b/Compiler/runtime/System_omc.cpp index 78df6a931bd..0def32a3de8 100644 --- a/Compiler/runtime/System_omc.cpp +++ b/Compiler/runtime/System_omc.cpp @@ -681,6 +681,7 @@ extern const char* System_snprintff(const char *fmt, int len, double d) assert(1024>len); snprintf(buf,len,fmt,d); buf[1023] = 0; + return buf; } }