declare as in prototype
authorUlf Möller <ulf@openssl.org>
Wed, 12 Apr 2006 19:24:45 +0000 (19:24 +0000)
committerUlf Möller <ulf@openssl.org>
Wed, 12 Apr 2006 19:24:45 +0000 (19:24 +0000)
Submitted by: Gisle Vanem

apps/apps.c

index 365287f..c4a7f12 100644 (file)
@@ -2673,7 +2673,7 @@ int raw_read_stdin(void *buf,int siz)
 #endif
 
 #if defined(_WIN32) && defined(STD_OUTPUT_HANDLE)
-int raw_write_stdout(void *buf,int siz)
+int raw_write_stdout(const void *buf,int siz)
        {
        DWORD n;
        if (WriteFile(GetStdHandle(STD_OUTPUT_HANDLE),buf,siz,&n,NULL))