--- np2/win9x/dialog/d_clnd.cpp 2003/10/16 17:59:03 1.1 +++ np2/win9x/dialog/d_clnd.cpp 2004/06/14 13:35:40 1.4 @@ -1,18 +1,19 @@ #include "compiler.h" -#include "resource.h" #include "strres.h" +#include "resource.h" #include "np2.h" #include "sysmng.h" #include "timemng.h" -#include "pccore.h" #include "dialog.h" #include "dialogs.h" +#include "pccore.h" #include "calendar.h" + static BYTE cbuf[8]; typedef struct { - WORD res; + UINT16 res; BYTE min; BYTE max; } VIRCAL_T; @@ -28,7 +29,7 @@ static const VIRCAL_T vircal[6] = { {IDC static void set_cal2dlg(HWND hWnd, const BYTE *cbuf) { int i; - char work[8]; + TCHAR work[8]; for (i=0; i<6; i++) { if (i != 1) {