﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
140	Compiler warning in TVideoIOBitsStartCode::getFileLocation()	hao		"Data type of return value of std::fstream::tellg() is not ""long"" but ""std::streampos"".
Their sizes may be different depending on compilers.
At least 64-bit compiler of MS Visual C++ 2008 in 32-bit Windows gives warning about implicit data type conversion from std::streampos to long.
Although it is practically harmless for the current standardization activity, it violates HEVC software guidelines.

Revised code to fix this issue is shown below.
(Line number is based on HM-2.2)

Line 89-90 in TVideoIOBits.h:

  '''streampos'''   getFileLocation                  ()                     { return m_cHandle.tellg();                         }
  Void        setFileLocation                  ('''streampos''' uiLocation) { m_cHandle.seekg(uiLocation);                      }

Line 114 in TAppDecTop.cpp:

    '''streampos''' lLocation     = m_cTVideoIOBitstreamFile.getFileLocation();
"	defect	closed	trivial		HM		fixed		fbossen ksuehring davidf jct-vc@…
