--- mstools/mfc/samples/templdef/map.ctt 2018/08/09 18:21:00 1.1.1.1 +++ mstools/mfc/samples/templdef/map.ctt 2018/08/09 18:24:56 1.1.1.2 @@ -150,7 +150,7 @@ template::HashKey(ARG_KEY key) const { // default identity hash - works for most primitive values - return _AFX_FP_OFF(key) >> 4; + return ((UINT)(DWORD)key) >> 4; }