You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
prng.c: In function ‘nwipe_add_lagg_fibonacci_prng_init’:
prng.c:272:47: error: passing argument 2 of ‘add_lagg_fibonacci_init’ from incompatible pointer type [-Wincompatible-pointer-types]
272 | (add_lagg_fibonacci_state_t*) state, (unsigned long) ( seed->s ), seed->length / sizeof( unsigned long ) );
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| long unsigned int *
In file included from prng.c:28:
alfg/add_lagg_fibonacci_prng.h:40:75: note: expected ‘uint64_t *’ {aka ‘long long unsigned int ’} but argument is of type ‘long unsigned int ’
40 | void add_lagg_fibonacci_init( add_lagg_fibonacci_state_t state, uint64_t init_key[], unsigned long key_length );
| ~~~~~~~~~^~~~~~~~~~
prng.c: In function ‘nwipe_xoroshiro256_prng_init’:
prng.c:288:41: error: passing argument 2 of ‘xoroshiro256_init’ from incompatible pointer type [-Wincompatible-pointer-types]
288 | (xoroshiro256_state_t) state, (unsigned long) ( seed->s ), seed->length / sizeof( unsigned long ) );
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| long unsigned int *
In file included from prng.c:29:
xor/xoroshiro256_prng.h:39:63: note: expected ‘uint64_t *’ {aka ‘long long unsigned int *’} but argument is of type ‘long unsigned int ’
39 | void xoroshiro256_init( xoroshiro256_state_t state, uint64_t init_key[], unsigned long key_length );
| ~~~~~~~~~^~~~~~~~~~
The text was updated successfully, but these errors were encountered:
xambroz
added a commit
to xambroz/nwipe
that referenced
this issue
May 16, 2024
https://kojipkgs.fedoraproject.org//work/tasks/7452/117727452/build.log
prng.c: In function ‘nwipe_add_lagg_fibonacci_prng_init’:
prng.c:272:47: error: passing argument 2 of ‘add_lagg_fibonacci_init’ from incompatible pointer type [-Wincompatible-pointer-types]
272 | (add_lagg_fibonacci_state_t*) state, (unsigned long) ( seed->s ), seed->length / sizeof( unsigned long ) );
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| long unsigned int *
In file included from prng.c:28:
alfg/add_lagg_fibonacci_prng.h:40:75: note: expected ‘uint64_t *’ {aka ‘long long unsigned int ’} but argument is of type ‘long unsigned int ’
40 | void add_lagg_fibonacci_init( add_lagg_fibonacci_state_t state, uint64_t init_key[], unsigned long key_length );
| ~~~~~~~~~^~~~~~~~~~
prng.c: In function ‘nwipe_xoroshiro256_prng_init’:
prng.c:288:41: error: passing argument 2 of ‘xoroshiro256_init’ from incompatible pointer type [-Wincompatible-pointer-types]
288 | (xoroshiro256_state_t) state, (unsigned long) ( seed->s ), seed->length / sizeof( unsigned long ) );
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| long unsigned int *
In file included from prng.c:29:
xor/xoroshiro256_prng.h:39:63: note: expected ‘uint64_t *’ {aka ‘long long unsigned int *’} but argument is of type ‘long unsigned int ’
39 | void xoroshiro256_init( xoroshiro256_state_t state, uint64_t init_key[], unsigned long key_length );
| ~~~~~~~~~^~~~~~~~~~
The text was updated successfully, but these errors were encountered: