aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2010-05-08 22:23:05 +0200
committerAris Adamantiadis <aris@0xbadc0de.be>2010-05-08 22:23:05 +0200
commit7886326aa8a4ac2242c743bfe38f4266b0d24551 (patch)
tree4b90ed6eb9fae6faecb0236cee20ad71a408a450 /tests
parent31cc03f8e63f5b748dfe04a1e826c5477eaa805d (diff)
downloadlibssh-7886326aa8a4ac2242c743bfe38f4266b0d24551.tar.gz
libssh-7886326aa8a4ac2242c743bfe38f4266b0d24551.tar.xz
libssh-7886326aa8a4ac2242c743bfe38f4266b0d24551.zip
Fix u_int_x_t -> uint_x_t
Diffstat (limited to 'tests')
-rw-r--r--tests/unittests/torture_misc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/unittests/torture_misc.c b/tests/unittests/torture_misc.c
index bde06132..94b2c7c6 100644
--- a/tests/unittests/torture_misc.c
+++ b/tests/unittests/torture_misc.c
@@ -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;