Merge pull request #43 from timburke/feature-eventlog

Fix integer overflow in firmware-cache