Increase length of string passed to RPversion function

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
This commit is contained in:
Ian Bell
2014-12-18 16:31:36 -06:00
parent 9bc5a78d97
commit 6f245cfd4d

View File

@@ -291,8 +291,8 @@ bool load_REFPROP()
throw CoolProp::AttributeError("There was an error setting the REFPROP function pointers, check types and names in header file.");
return false;
}
char rpv[255];
RPVersion(rpv, 255);
char rpv[1000];
RPVersion(rpv, 1000);
RPVersion_loaded = rpv;
return true;
}