summaryrefslogtreecommitdiff
path: root/src/arch/archbase.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2016-02-09 14:03:11 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2016-02-09 14:03:11 (GMT)
commit76f44a20a5b277d7cbc441c4e71943d4e5507a9d (patch)
treebeb0d9427677aba523c2ae17c6b33b0c32c280a9 /src/arch/archbase.h
parent5fb8fb821698f43e9e2306841ff1f5a77876aed8 (diff)
Set the initial display value and avoided to pad octal and decimal values.
Diffstat (limited to 'src/arch/archbase.h')
-rw-r--r--src/arch/archbase.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/archbase.h b/src/arch/archbase.h
index fc6fe4d..867030d 100644
--- a/src/arch/archbase.h
+++ b/src/arch/archbase.h
@@ -85,10 +85,10 @@ typedef enum _MemoryDataSize
case 2: \
__result = MDS_16_BITS_UNSIGNED; \
break; \
- case 4: \
+ case 3 ... 4: \
__result = MDS_32_BITS_UNSIGNED; \
break; \
- case 8: \
+ case 5 ... 8: \
__result = MDS_64_BITS_UNSIGNED; \
break; \
default: \