Commit 582388ff authored by rswindell's avatar rswindell
Browse files

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

parent 970d9773
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment