OSDN Git Service

[VM][I8259] Fix Compilation error.
authorK.Ohta <whatisthis.sowhat@gmail.com>
Sun, 19 Mar 2023 13:09:40 +0000 (22:09 +0900)
committerK.Ohta <whatisthis.sowhat@gmail.com>
Sun, 19 Mar 2023 13:09:40 +0000 (22:09 +0900)
source/src/vm/i8259.h

index e928a0e..e9564eb 100644 (file)
@@ -57,7 +57,7 @@ public:
 
                __I8259_PC98_HACK = false;
                for(int c = 0; c < 2; c++) {
-                       memset(&(pic[c]), 0x00, sizeof(struct i8259_pic_t));
+                       memset(&(pic[c]), 0x00, sizeof(pic[c]));
                        pic[c].irr_tmp_id = -1;
                }
                set_device_name(_T("i8259 PIC"));