diff --git a/src/sbbs3/postmsg.cpp b/src/sbbs3/postmsg.cpp index d99044d6091ce1c78c77f45236177c456fa915d7..29c4366a598441181760bce0273000c058a47bcc 100644 --- a/src/sbbs3/postmsg.cpp +++ b/src/sbbs3/postmsg.cpp @@ -65,7 +65,8 @@ bool sbbs_t::postmsg(uint subnum, smbmsg_t *remsg, long wm_mode) char touser[64]; char from[64]; char pid[128]; - ushort xlat,msgattr; + uint16_t xlat; + ushort msgattr; int i,j,x,file,storage; ulong length,offset,crc=0xffffffff; FILE* instream; diff --git a/src/sbbs3/writemsg.cpp b/src/sbbs3/writemsg.cpp index 5e27950d75c3b99711777cb9c46b0bfab5823973..8ad5b3fc114d9393624b0101fe92ca149c0ed743 100644 --- a/src/sbbs3/writemsg.cpp +++ b/src/sbbs3/writemsg.cpp @@ -1189,7 +1189,7 @@ void sbbs_t::editmsg(smbmsg_t *msg, uint subnum) { char buf[SDT_BLOCK_LEN]; char msgtmp[MAX_PATH+1]; - ushort xlat; + uint16_t xlat; int file,i,j,x; long length,offset; FILE *instream;