Fixed return value in test.
This commit is contained in:
parent
eedf45583a
commit
8e521e7aee
@ -3,9 +3,9 @@
|
|||||||
|
|
||||||
int TestVersion(int argc, char* argv[])
|
int TestVersion(int argc, char* argv[])
|
||||||
{
|
{
|
||||||
char *version;
|
const char *version;
|
||||||
char *git;
|
const char *git;
|
||||||
char *build;
|
const char *build;
|
||||||
int major = 0, minor = 0, revision = 0;
|
int major = 0, minor = 0, revision = 0;
|
||||||
|
|
||||||
freerdp_get_version(&major, &minor, &revision);
|
freerdp_get_version(&major, &minor, &revision);
|
||||||
|
@ -6,9 +6,9 @@
|
|||||||
|
|
||||||
int TestVersion(int argc, char* argv[])
|
int TestVersion(int argc, char* argv[])
|
||||||
{
|
{
|
||||||
char *version;
|
const char *version;
|
||||||
char *git;
|
const char *git;
|
||||||
char *build;
|
const char *build;
|
||||||
int major = 0, minor = 0, revision = 0;
|
int major = 0, minor = 0, revision = 0;
|
||||||
|
|
||||||
winpr_get_version(&major, &minor, &revision);
|
winpr_get_version(&major, &minor, &revision);
|
||||||
|
Loading…
Reference in New Issue
Block a user