1
0
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:
Aris Adamantiadis
2010-05-08 22:23:05 +02:00
parent 31cc03f8e6
commit 7886326aa8

View File

@@ -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;