--- a/ecdisp.c
+++ b/ecdisp.c
@@ -155,7 +155,7 @@
 #define OUTSTRING(win, str)         SendMessage(win, LB_ADDSTRING, 0, (LPARAM) str)
 #define OUTWSTRING(win, str) \
 { \
-    SIZE_T  nBytes; \
+    size_t  nBytes; \
 \
     errno_t result = wcstombs_s(&nBytes, szTempBuffer, TEMP_BUFFER_SIZE, str, TEMP_BUFFER_SIZE-1); \
     if (0 != result) { \
