diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-04-29 12:11:08 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-04-29 12:11:08 +0200 |
commit | 16e9630b79f0a7a90c6cedb6781175bb8b337dc1 (patch) | |
tree | e1b09d277dec2057e6b995ec099dd2b1f2129b35 /app/wlib/mswlib | |
parent | 09795a01ef859f072920de9df974d1b03b9ab9a4 (diff) |
New upstream version 4.3.0upstream/4.3.0
Diffstat (limited to 'app/wlib/mswlib')
-rw-r--r-- | app/wlib/mswlib/mswedit.c | 2 | ||||
-rw-r--r-- | app/wlib/mswlib/mswmisc.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/wlib/mswlib/mswedit.c b/app/wlib/mswlib/mswedit.c index 5bb26ec..937a83e 100644 --- a/app/wlib/mswlib/mswedit.c +++ b/app/wlib/mswlib/mswedit.c @@ -109,7 +109,7 @@ void wStringSetValue( wString_p b, const char * arg ) { - WORD len = strlen( arg ); + WORD len = (WORD)strlen( arg ); SendMessage( b->hWnd, WM_SETTEXT, 0, (DWORD)arg ); #ifdef WIN32 SendMessage( b->hWnd, EM_SETSEL, len, len ); diff --git a/app/wlib/mswlib/mswmisc.c b/app/wlib/mswlib/mswmisc.c index 85438e0..cc46e4e 100644 --- a/app/wlib/mswlib/mswmisc.c +++ b/app/wlib/mswlib/mswmisc.c @@ -217,7 +217,7 @@ static void doDumpControls(void) b = controlMap(inx).b; if ( b ) { fprintf( dumpControlsF, "[%0.3d] [%x] %s %s %s\n", inx, - b->hWnd, + (unsigned int)b->hWnd, (b->type>=0&&b->type<=B_BOX?controlNames[b->type]:"NOTYPE"), (b->labelStr?b->labelStr:"<NULL>"), (b->helpStr?b->helpStr:"<NULL>") ); |