Skip to content
Snippets Groups Projects
Commit 02d8a9f1 authored by rswindell's avatar rswindell
Browse files

Minor int var type updates.

parent 328065ec
No related branches found
No related tags found
No related merge requests found
......@@ -314,8 +314,8 @@ typedef struct { /* QWK Network Hub */
node, /* Node to do the call-out */
freq, /* Frequency of call-outs */
subs, /* Number Sub-boards carried */
*sub, /* Number of local sub-board for ea. */
*conf; /* Conference number of ea. */
ulong *sub; /* Number of local sub-board for ea. */
time32_t last; /* Last network attempt */
} qhub_t;
......
......@@ -620,8 +620,8 @@ BOOL read_msgs_cfg(scfg_t* cfg, char* error)
get_int(k,instream);
if(k) {
if((cfg->qhub[i]->sub=(ushort *)malloc(sizeof(ushort)*k))==NULL)
return allocerr(instream,error,offset,fname,sizeof(uint)*k);
if((cfg->qhub[i]->sub=(ulong *)malloc(sizeof(ulong)*k))==NULL)
return allocerr(instream,error,offset,fname,sizeof(ulong)*k);
if((cfg->qhub[i]->conf=(ushort *)malloc(sizeof(ushort)*k))==NULL)
return allocerr(instream,error,offset,fname,sizeof(ushort)*k);
if((cfg->qhub[i]->mode=(char *)malloc(sizeof(char)*k))==NULL)
......
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