Fixed sign-compare warnings
authorArmin Novak <armin.novak@thincast.com>
Thu, 7 Feb 2019 13:35:21 +0000 (14:35 +0100)
committerArmin Novak <armin.novak@thincast.com>
Fri, 5 Apr 2019 07:13:24 +0000 (09:13 +0200)
winpr/libwinpr/environment/test/TestEnvironmentGetSetEB.c

index e0c95ee..6524241 100644 (file)
@@ -9,7 +9,7 @@ int TestEnvironmentGetSetEB(int argc, char* argv[])
 #ifndef _WIN32
        char test[1024];
        TCHAR* p;
-       int length;
+       DWORD length;
        LPTCH lpszEnvironmentBlock = "SHELL=123\0test=1\0test1=2\0DISPLAY=WINPR_TEST_VALUE\0\0";
        LPTCH lpszEnvironmentBlockNew = NULL;