unsigned short for socks port

This commit is contained in:
chombier 2001-03-20 20:23:20 +00:00
parent 467cd18ae0
commit 5e98d4474b
1 changed files with 1 additions and 1 deletions

View File

@ -1913,7 +1913,7 @@ Boolean EditSession(StringPtr PrefRecordNamePtr)
SetTEText(dptr, SessBlockSize, scratchPstring);
if (!SessPrefsPtr->socksport) SessPrefsPtr->socksport = 1080;
NumToString(SessPrefsPtr->socksport, scratchPstring);
NumToString((unsigned short)SessPrefsPtr->socksport, scratchPstring);
SetTEText(dptr, 67, scratchPstring);
if (SessPrefsPtr->NetBlockSize <= 512)