Remove UINT32_MAX in xml_node.cc

UINT32_MAX is not defined in C++. It was brought in indirectly from
libxml.

http://stackoverflow.com/questions/1471353/whats-the-c-equivalent-of-uint32-max

Change-Id: I1bdb0a3d06a40d439d81f283934c24df271fb740
This commit is contained in:
Kongqun Yang 2014-03-05 14:56:44 -08:00 committed by KongQun Yang
parent e21f436d97
commit aee2419c16
1 changed files with 1 additions and 1 deletions

View File

@ -423,7 +423,7 @@ bool RepresentationXmlNode::AddAudioChannelInfo(
void RepresentationXmlNode::AddAudioSamplingRateInfo( void RepresentationXmlNode::AddAudioSamplingRateInfo(
const RepeatedAudioInfo& repeated_audio_info) { const RepeatedAudioInfo& repeated_audio_info) {
bool has_sampling_frequency = false; bool has_sampling_frequency = false;
uint32 min_sampling_frequency = UINT32_MAX; uint32 min_sampling_frequency = kuint32max;
uint32 max_sampling_frequency = 0; uint32 max_sampling_frequency = 0;
for (int i = 0; i < repeated_audio_info.size(); ++i) { for (int i = 0; i < repeated_audio_info.size(); ++i) {