diff options
| author | tb <> | 2026-01-14 17:43:49 +0000 |
|---|---|---|
| committer | tb <> | 2026-01-14 17:43:49 +0000 |
| commit | f3b7e1f8d7abce09c15e715e5f167b6f10d127de (patch) | |
| tree | 3b14bbdf430d1bbfb21ce0f89066574f1394c9d6 /src/regress/lib/libc/sleep/Makefile | |
| parent | 9061b4381d8ab99d1f141ef03cc52f45c2e7a3bd (diff) | |
| download | openbsd-master.tar.gz openbsd-master.tar.bz2 openbsd-master.zip | |
In stack.c r1.34 I converted one 'char *' too many to 'void *', thereby
relying on a gcc/clang extension which interprets the fictional void
type as a type of size 1 (that's what the stack code wants, fortunately).
As pointed out in the link below, -Wpointer-arith would have caught this:
https://gcc.gnu.org/onlinedocs/gcc/Pointer-Arith.html
MSVC flags this as follows:
D:\a\portable\portable\crypto\stack\stack.c(211,23): error C2036: 'const void *': unknown size [D:\a\portable\portable\build\crypto\crypto_obj.vcxproj].
Pull in workaround from the portable repo which undoes the char * -> void *
conversion.
ok jsing millert
Diffstat (limited to 'src/regress/lib/libc/sleep/Makefile')
0 files changed, 0 insertions, 0 deletions
