Silence a warning
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3032
This commit is contained in:
parent
6182b08be9
commit
1b2e2b541e
3 changed files with 6 additions and 6 deletions
|
@ -16,7 +16,7 @@
|
|||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
/* $Id: ipx.cpp,v 1.13 2007-02-22 08:30:47 qbix79 Exp $ */
|
||||
/* $Id: ipx.cpp,v 1.14 2007-11-01 12:11:40 qbix79 Exp $ */
|
||||
|
||||
#include "dosbox.h"
|
||||
|
||||
|
@ -748,7 +748,7 @@ static bool pingCheck(IPXHeader * outHeader) {
|
|||
return false;
|
||||
}
|
||||
|
||||
bool ConnectToServer(char *strAddr) {
|
||||
bool ConnectToServer(char const *strAddr) {
|
||||
int numsent;
|
||||
UDPpacket regPacket;
|
||||
IPXHeader regHeader;
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
/* $Id: softmodem.cpp,v 1.8 2007-07-19 18:58:39 c2woody Exp $ */
|
||||
/* $Id: softmodem.cpp,v 1.9 2007-11-01 12:11:40 qbix79 Exp $ */
|
||||
|
||||
#include "dosbox.h"
|
||||
|
||||
|
@ -139,7 +139,7 @@ void CSerialModem::SendNumber(Bitu val) {
|
|||
}
|
||||
|
||||
void CSerialModem::SendRes(ResTypes response) {
|
||||
char * string;Bitu code;
|
||||
char const * string;Bitu code;
|
||||
switch (response)
|
||||
{
|
||||
case ResNONE: return;
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
/* $Id: ems.cpp,v 1.55 2007-01-08 22:04:20 c2woody Exp $ */
|
||||
/* $Id: ems.cpp,v 1.56 2007-11-01 12:11:40 qbix79 Exp $ */
|
||||
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
|
@ -1235,7 +1235,7 @@ public:
|
|||
DOS_AddDevice(newdev);
|
||||
|
||||
/* Add a little hack so it appears that there is an actual ems device installed */
|
||||
char * emsname="EMMXXXX0";
|
||||
char const* emsname="EMMXXXX0";
|
||||
if(!emsnameseg) emsnameseg=DOS_GetMemory(2); //We have 32 bytes
|
||||
MEM_BlockWrite(PhysMake(emsnameseg,0xa),emsname,strlen(emsname)+1);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue