mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-12-24 19:37:48 +03:00
Fix u_int_x_t -> uint_x_t
This commit is contained in:
@@ -52,10 +52,10 @@ END_TEST
|
||||
|
||||
START_TEST (torture_ntohll)
|
||||
{
|
||||
u_int32_t sample = 1;
|
||||
uint32_t sample = 1;
|
||||
unsigned char *ptr=(unsigned char *) &sample;
|
||||
u_int64_t value = 0x0123456789abcdef;
|
||||
u_int64_t check;
|
||||
uint64_t value = 0x0123456789abcdef;
|
||||
uint64_t check;
|
||||
if(ptr[0]==1){
|
||||
/* we're in little endian */
|
||||
check = 0xefcdab8967452301;
|
||||
|
||||
Reference in New Issue
Block a user