Skip to content
Snippets Groups Projects
Commit 582388ff authored by rswindell's avatar rswindell
Browse files

Fixed apparent problems with assigning getnum (which can return -1) to unit.

parent 970d9773
No related branches found
No related tags found
No related merge requests found
......@@ -388,10 +388,10 @@ void sbbs_t::upload(uint dirnum)
SYNC;
if(!noyes(text[MultipleDiskQ])) {
bputs(text[HowManyDisksTotal]);
if((i=getnum(99))<2)
if((int)(i=getnum(99))<2)
return;
bputs(text[NumberOfFile]);
if((j=getnum(i))<1)
if((int)(j=getnum(i))<1)
return;
if(j==1)
upload_lastdesc[0]=0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment