diff --git a/libfreerdp/core/test/TestVersion.c b/libfreerdp/core/test/TestVersion.c index a3634ebd7..3203088c0 100644 --- a/libfreerdp/core/test/TestVersion.c +++ b/libfreerdp/core/test/TestVersion.c @@ -3,9 +3,9 @@ int TestVersion(int argc, char* argv[]) { - char *version; - char *git; - char *build; + const char *version; + const char *git; + const char *build; int major = 0, minor = 0, revision = 0; freerdp_get_version(&major, &minor, &revision); diff --git a/winpr/libwinpr/utils/test/TestVersion.c b/winpr/libwinpr/utils/test/TestVersion.c index 0253bb23f..cef572892 100644 --- a/winpr/libwinpr/utils/test/TestVersion.c +++ b/winpr/libwinpr/utils/test/TestVersion.c @@ -6,9 +6,9 @@ int TestVersion(int argc, char* argv[]) { - char *version; - char *git; - char *build; + const char *version; + const char *git; + const char *build; int major = 0, minor = 0, revision = 0; winpr_get_version(&major, &minor, &revision);