aboutsummaryrefslogtreecommitdiffstats
path: root/com32/gpllib/dmi/dmi.c
diff options
context:
space:
mode:
Diffstat (limited to 'com32/gpllib/dmi/dmi.c')
-rw-r--r--com32/gpllib/dmi/dmi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/com32/gpllib/dmi/dmi.c b/com32/gpllib/dmi/dmi.c
index 5a25b413..7613383f 100644
--- a/com32/gpllib/dmi/dmi.c
+++ b/com32/gpllib/dmi/dmi.c
@@ -231,7 +231,7 @@ void dmi_bios_characteristics_x2(uint8_t code, s_dmi * dmi)
{
int i;
- for (i = 0; i <= 2; i++)
+ for (i = 0; i <= 4; i++)
if (code & (1 << i))
((bool *) (&dmi->bios.characteristics_x2))[i] = true;
}