2021-06-02 Fred Gleason <fredg@paravelsystems.com>

* Cleaned up compile warnings in rdgen(1).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason 2021-06-02 17:51:33 -04:00
parent 1b8c758ad5
commit af85aa5ee3
2 changed files with 4 additions and 2 deletions

View File

@ -21858,3 +21858,5 @@
* Cleaned up compile warnings in rdxport.cgi.
2021-06-02 Fred Gleason <fredg@paravelsystems.com>
* Cleaned up compile warnings in webget.cgi.
2021-06-02 Fred Gleason <fredg@paravelsystems.com>
* Cleaned up compile warnings in rdgen(1).

View File

@ -261,7 +261,7 @@ int main(int argc,char *argv[])
cBuffer[i++]=128;
}
}
write(hFilename,cBuffer,BUFFER_SIZE);
CheckReturnCode("write",write(hFilename,cBuffer,BUFFER_SIZE),BUFFER_SIZE);
dBytes+=BUFFER_SIZE;
ldLimit+=(BUFFER_SIZE/2);
ldTimeline+=(BUFFER_SIZE/2);
@ -297,7 +297,7 @@ int main(int argc,char *argv[])
cBuffer[i++]=0;
}
}
write(hFilename,cBuffer,BUFFER_SIZE);
CheckReturnCode("write",write(hFilename,cBuffer,BUFFER_SIZE),BUFFER_SIZE);
dBytes+=BUFFER_SIZE;
ldLimit+=(BUFFER_SIZE/4);
ldTimeline+=(BUFFER_SIZE/4);