mirror of
https://github.com/jedisct1/libsodium.git
synced 2026-08-25 08:37:13 +09:00
char vs unsigned char in the sodium_utils test
This commit is contained in:
@@ -6,8 +6,8 @@
|
||||
|
||||
int main(void)
|
||||
{
|
||||
char buf1[1000];
|
||||
char buf2[1000];
|
||||
unsigned char buf1[1000];
|
||||
unsigned char buf2[1000];
|
||||
|
||||
randombytes(buf1, sizeof buf1);
|
||||
memcpy(buf2, buf1, sizeof buf2);
|
||||
|
||||
Reference in New Issue
Block a user