OSDN Git Service

avoid assertion
authorSHIRAKATA Kentaro <argrath@ub32.org>
Sat, 13 Feb 2016 12:38:36 +0000 (21:38 +0900)
committerSHIRAKATA Kentaro <argrath@ub32.org>
Sat, 13 Feb 2016 16:46:49 +0000 (01:46 +0900)
win/win32/mhmsgwnd.c

index 44ec781..4df1c53 100644 (file)
@@ -245,7 +245,11 @@ onMSNHCommand(HWND hWnd, WPARAM wParam, LPARAM lParam)
     case MSNH_MSG_PUTSTR: {
         PMSNHMsgPutstr msg_data = (PMSNHMsgPutstr) lParam;
         SCROLLINFO si;
+#if 0 /*JP*/
         char *p;
+#else
+        unsigned char *p;
+#endif
 
         if (msg_data->append == 1) {
             /* Forcibly append to line, even if we pass the edge */