summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/SASL/WindowsServicePrincipalName.h')
-rw-r--r--Swiften/SASL/WindowsServicePrincipalName.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Swiften/SASL/WindowsServicePrincipalName.h b/Swiften/SASL/WindowsServicePrincipalName.h
index 4c9f557..2e4e5c4 100644
--- a/Swiften/SASL/WindowsServicePrincipalName.h
+++ b/Swiften/SASL/WindowsServicePrincipalName.h
@@ -1,5 +1,5 @@
1/* 1/*
2 * Copyright (c) 2015 Isode Limited. 2 * Copyright (c) 2015-2018 Isode Limited.
3 * All rights reserved. 3 * All rights reserved.
4 * See the COPYING file for more information. 4 * See the COPYING file for more information.
5 */ 5 */
@@ -49,7 +49,7 @@ namespace Swift {
49 * it remain 0 to indicate that the default port is 49 * it remain 0 to indicate that the default port is
50 * used. 50 * used.
51 */ 51 */
52 void setInstancePort(short int instancePort) { instancePort_ = instancePort; } 52 void setInstancePort(unsigned short instancePort) { instancePort_ = instancePort; }
53 53
54 /* 54 /*
55 * This follows the rules of SPN creation on Windows and 55 * This follows the rules of SPN creation on Windows and