change u_int to uint

This commit is contained in:
Ronnie Sahlberg
2012-11-29 19:14:26 -08:00
parent 7704215bcc
commit b1da7311c4
4 changed files with 13 additions and 12 deletions

View File

@@ -89,7 +89,7 @@ iscsi_create_context(const char *initiator_name)
iscsi->fd = -1;
srand(time(NULL) ^ getpid() ^ (u_int32_t) ((uintptr_t) iscsi));
srand(time(NULL) ^ getpid() ^ (uint32_t) ((uintptr_t) iscsi));
/* initialize to a "random" isid */
iscsi_set_isid_random(iscsi, rand(), 0);