[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdepim/kaddressbook/xxport
From:       Allen Winter <winter () kde ! org>
Date:       2009-07-05 19:19:34
Message-ID: 1246821574.868869.30496.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 991846 by winterz:

add some parens to make gcc happy
MERGE: none


 M  +1 -1      gnokii_xxport.cpp  


--- trunk/KDE/kdepim/kaddressbook/xxport/gnokii_xxport.cpp #991845:991846
@@ -604,7 +604,7 @@
 		}
 		subentry->number_type = type;
 		strncpy(subentry->data.number, makeValidPhone(s).toAscii(), sizeof(subentry->data.number)-1);
-		subentry->id = phone_location<<8+entry.subentries_count;
+		subentry->id = ( phone_location << 8 ) + entry.subentries_count;
 		entry.subentries_count++;
 		subentry++;
 		if (entry.subentries_count >= GN_PHONEBOOK_SUBENTRIES_MAX_NUMBER)
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic