Fixing overflow issue that appeared with GCC compilers.

Thanks to Michael Stephens for the report and fix.

Change-Id: Ibe68819a81b011d3e3b0d8fefc2bc122834e8602
Merge topic 'reader_precision_fix' into master

48f2dc0c Fixing overflow issue that appeared with GCC compilers.