mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-28 07:58:08 +01:00
type changes to stop warnings
This commit is contained in:
parent
502cddcf1f
commit
96a45af102
4 changed files with 5 additions and 5 deletions
|
@ -42,7 +42,7 @@ ceControlsToAddrRec( HWND hDlg, CeConnDlgState* cState )
|
|||
static void
|
||||
ceControlsFromAddrRec( HWND hDlg, const CeConnDlgState* cState )
|
||||
{
|
||||
XP_UCHAR* str;
|
||||
wchar_t* str;
|
||||
|
||||
switch( cState->addrRec.conType ) {
|
||||
case COMMS_CONN_RELAY:
|
||||
|
@ -54,7 +54,7 @@ ceControlsFromAddrRec( HWND hDlg, const CeConnDlgState* cState )
|
|||
str = L"bad conType";
|
||||
break;
|
||||
}
|
||||
SendDlgItemMessage( hDlg, IDC_CONNECTCOMBO, CB_ADDSTRING, 0, str );
|
||||
SendDlgItemMessage( hDlg, IDC_CONNECTCOMBO, CB_ADDSTRING, 0, (LPARAM)str );
|
||||
SendDlgItemMessage( hDlg, IDC_CONNECTCOMBO, CB_SETCURSEL, 0, 0L );
|
||||
|
||||
ceSetDlgItemText( hDlg, RELAYNAME_EDIT, cState->addrRec.u.ip_relay.hostName );
|
||||
|
|
|
@ -145,7 +145,7 @@ void ce_drawctxt_update( DrawCtx* dctx, CEAppGlobals* globals );
|
|||
|
||||
|
||||
#ifdef DEBUG
|
||||
void logLastError(XP_UCHAR* comment );
|
||||
void logLastError( const char* comment );
|
||||
#else
|
||||
# define logLastError(c)
|
||||
#endif
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
#define BUF_SIZE 128
|
||||
|
||||
void
|
||||
ceSetDlgItemText( HWND hDlg, XP_U16 id, XP_UCHAR* buf )
|
||||
ceSetDlgItemText( HWND hDlg, XP_U16 id, const XP_UCHAR* buf )
|
||||
{
|
||||
wchar_t widebuf[BUF_SIZE];
|
||||
XP_U16 len;
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
#include "stdafx.h"
|
||||
#include "cemain.h"
|
||||
|
||||
void ceSetDlgItemText( HWND hDlg, XP_U16 id, XP_UCHAR* buf );
|
||||
void ceSetDlgItemText( HWND hDlg, XP_U16 id, const XP_UCHAR* buf );
|
||||
void ceGetDlgItemText( HWND hDlg, XP_U16 id, XP_UCHAR* buf, XP_U16* bLen );
|
||||
|
||||
void ceSetDlgItemNum( HWND hDlg, XP_U16 id, XP_S32 num );
|
||||
|
|
Loading…
Add table
Reference in a new issue