Skip to content

Commit f49a545

Browse files
committed
Change unsigned long back to unsigned
1 parent 5b15847 commit f49a545

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/extauth/ExtAuth.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ int ExtAuthClient::authenticate(ThrowStatusWrapper* status, IClientBlock* cBlock
253253
error(status, "Malformed data from server - missing random block");
254254

255255
// next append login to random block
256-
unsigned long len = static_cast<unsigned long>(strlen(login));
256+
unsigned len = static_cast<unsigned>(strlen(login));
257257
if (len > LOGINSIZE)
258258
len = LOGINSIZE;
259259
memcpy(&bytes[RANDSIZE], login, len);

0 commit comments

Comments
 (0)