mirror of
https://https.git.savannah.gnu.org/git/gnulib.git
synced 2026-05-13 15:13:36 +00:00
jit/cache-tests: omit confusing cast.
* tests/jit/test-cache.c (SET_CODE): Omit cast of char * to char *.
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
2026-05-08 Paul Eggert <eggert@cs.ucla.edu>
|
||||
|
||||
jit/cache-tests: omit confusing cast.
|
||||
* tests/jit/test-cache.c (SET_CODE): Omit cast of char * to char *.
|
||||
|
||||
wait-process: omit confusing cast
|
||||
* lib/wait-process.c (wait_subprocess): Omit confusing cast.
|
||||
|
||||
|
||||
@@ -116,7 +116,7 @@ struct func
|
||||
# else
|
||||
# define CODE(funcptr) ((char *) (funcptr) - clang_ubsan_workaround)
|
||||
# define SET_CODE(funcptr,code_addr) \
|
||||
((void) ((funcptr) = (void *) ((char *) (code_addr) + clang_ubsan_workaround)))
|
||||
((void) ((funcptr) = (void *) ((code_addr) + clang_ubsan_workaround)))
|
||||
# define IS(funcptr) ((void) (funcptr), 0)
|
||||
# define SET_IS(funcptr,is) ((void) (funcptr), (void) (is))
|
||||
# endif
|
||||
|
||||
Reference in New Issue
Block a user