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

Fix GCC-aarch64 compile (caught be pipeline)

error: cannot bind non-const lvalue reference of type ‘long unsigned int&’ to an rvalue of type ‘long unsigned int’

Just getting rid of more use of ulong (replaced with size_t).
parent 40280934
No related branches found
No related tags found
1 merge request!455Update branch with changes from master
Pipeline #6374 failed
...@@ -150,7 +150,7 @@ ...@@ -150,7 +150,7 @@
/*****************************************************************************/ /*****************************************************************************/
/* Interrupt routine to expand WWIV Ctrl-C# codes into ANSI escape sequences */ /* Interrupt routine to expand WWIV Ctrl-C# codes into ANSI escape sequences */
/*****************************************************************************/ /*****************************************************************************/
BYTE* wwiv_expand(BYTE* buf, uint buflen, BYTE* outbuf, ulong& newlen BYTE* wwiv_expand(BYTE* buf, uint buflen, BYTE* outbuf, size_t& newlen
,uint user_misc, bool& ctrl_c) ,uint user_misc, bool& ctrl_c)
{ {
char ansi_seq[32]; char ansi_seq[32];
...@@ -300,7 +300,7 @@ extern SOCKET node_socket[]; ...@@ -300,7 +300,7 @@ extern SOCKET node_socket[];
/*****************************************************************************/ /*****************************************************************************/
// Expands Single CR to CRLF // Expands Single CR to CRLF
/*****************************************************************************/ /*****************************************************************************/
BYTE* cr_expand(BYTE* inbuf, ulong inlen, BYTE* outbuf, ulong& newlen) BYTE* cr_expand(BYTE* inbuf, size_t inlen, BYTE* outbuf, size_t& newlen)
{ {
uint i,j; uint i,j;
...@@ -938,7 +938,7 @@ int sbbs_t::external(const char* cmdline, int mode, const char* startup_dir) ...@@ -938,7 +938,7 @@ int sbbs_t::external(const char* cmdline, int mode, const char* startup_dir)
/*****************************************************************************/ /*****************************************************************************/
// Expands Unix LF to CRLF // Expands Unix LF to CRLF
/*****************************************************************************/ /*****************************************************************************/
BYTE* lf_expand(BYTE* inbuf, uint inlen, BYTE* outbuf, ulong& newlen) BYTE* lf_expand(BYTE* inbuf, uint inlen, BYTE* outbuf, size_t& newlen)
{ {
uint i,j; uint i,j;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment