mirror of
https://github.com/CoolProp/CoolProp.git
synced 2026-02-12 14:55:08 -05:00
Increase length of string passed to RPversion function
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user