forked from mirrors/0ad
99aa427ffa
smbios fixes: also ignore max value (used by Dell BIOS to report invalid MemoryDevice bit width); fix incorrect error check that caused 0 to be returned on all but the first call; add implicit conversion operator to allow using size without appending .value This was SVN commit r9195.