Skip to content
Snippets Groups Projects
Commit 034be931 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Resolve warnings as a result of last commit

More 'long int' purging.
parent dd38606e
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #3822 passed
...@@ -1248,7 +1248,7 @@ int sbbs_t::getnodetopage(int all, int telegram) ...@@ -1248,7 +1248,7 @@ int sbbs_t::getnodetopage(int all, int telegram)
{ {
char str[128]; char str[128];
char tmp[512]; char tmp[512];
uint i,j; int i,j;
node_t node; node_t node;
if(!lastnodemsg) if(!lastnodemsg)
......
...@@ -47,7 +47,7 @@ void sbbs_t::readmail(uint usernumber, int which, int lm_mode) ...@@ -47,7 +47,7 @@ void sbbs_t::readmail(uint usernumber, int which, int lm_mode)
int i; int i;
uint32_t u,v; uint32_t u,v;
int mismatches=0,act; int mismatches=0,act;
uint unum; int unum;
int l,last_mode; int l,last_mode;
uint last; uint last;
bool replied; bool replied;
......
...@@ -33,7 +33,7 @@ void sbbs_t::userlist(int mode) ...@@ -33,7 +33,7 @@ void sbbs_t::userlist(int mode)
char * line[2500]; char * line[2500];
user_t user; user_t user;
if(lastuser(&cfg)<=(sizeof(line)/sizeof(line[0]))) if(lastuser(&cfg)<=(int)(sizeof(line)/sizeof(line[0])))
sort=yesno(text[SortAlphaQ]); sort=yesno(text[SortAlphaQ]);
if(sort) { if(sort) {
bputs(text[CheckingSlots]); bputs(text[CheckingSlots]);
......
...@@ -45,7 +45,7 @@ bool sbbs_t::unpack_qwk(char *packet,uint hubnum) ...@@ -45,7 +45,7 @@ bool sbbs_t::unpack_qwk(char *packet,uint hubnum)
uchar block[QWK_BLOCK_LEN]; uchar block[QWK_BLOCK_LEN];
int k,file; int k,file;
uint i,j,n,lastsub=INVALID_SUB; uint i,j,n,lastsub=INVALID_SUB;
uint usernum; int usernum;
uint blocks; uint blocks;
long l,size,misc; long l,size,misc;
ulong t; ulong t;
......
...@@ -41,10 +41,10 @@ void sbbs_t::useredit(int usernumber) ...@@ -41,10 +41,10 @@ void sbbs_t::useredit(int usernumber)
char tmp[512]; char tmp[512];
char search[256]={""},artxt[128]={""}; char search[256]={""},artxt[128]={""};
uchar *ar=NULL; uchar *ar=NULL;
uint i,j,k; int i,j,k;
float f; float f;
long l; int l;
long kmode = K_LINE|K_EDIT|K_AUTODEL|K_TRIM; int kmode = K_LINE|K_EDIT|K_AUTODEL|K_TRIM;
int64_t adj; int64_t adj;
user_t user; user_t user;
struct tm tm; struct tm tm;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment