Skip to content
Commit 8ff889c2 authored by Richard Levitte's avatar Richard Levitte
Browse files

VMS: setbuf() only takes 32-bit pointers



Giving setbuf() a 64-bit pointer isn't faulty, as the argument is
passed by a 64-bit register anyway, so you only get a warning
(MAYLOSEDATA2) pointing out that only the least significant 32 bits
will be used.

However, we know that a FILE* returned by fopen() and such really is a
32-bit pointer (a study of the system header files make that clear),
so we temporarly turn off that warning when calling setbuf().

Reviewed-by: default avatarAndy Polyakov <appro@openssl.org>
parent d7295cd6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment