From 3ce857b78b80baab3082dbb8ae1aac21f78dada8 Mon Sep 17 00:00:00 2001 From: fgerlits Date: Fri, 3 Dec 2004 11:07:42 +0000 Subject: [PATCH] added parentheses to make gcc happy --- livesupport/modules/core/src/AudioClip.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/livesupport/modules/core/src/AudioClip.cxx b/livesupport/modules/core/src/AudioClip.cxx index 768211507..98e571cab 100644 --- a/livesupport/modules/core/src/AudioClip.cxx +++ b/livesupport/modules/core/src/AudioClip.cxx @@ -22,7 +22,7 @@ Author : $Author: fgerlits $ - Version : $Revision: 1.5 $ + Version : $Revision: 1.6 $ Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/core/src/AudioClip.cxx,v $ ------------------------------------------------------------------------------*/ @@ -105,7 +105,7 @@ AudioClip :: configure(const xmlpp::Element & element) playlength.reset(new time_duration( duration_from_string(attribute->get_value()))); - if (attribute = element.get_attribute(uriAttrName)) { + if ((attribute = element.get_attribute(uriAttrName))) { std::string uriValue = attribute->get_value(); uri.reset(new std::string(uriValue)); }