Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r72270 - branches/release/boost/uuid
From: atompkins_at_[hidden]
Date: 2011-05-29 20:35:01


Author: atompkins
Date: 2011-05-29 20:35:00 EDT (Sun, 29 May 2011)
New Revision: 72270
URL: http://svn.boost.org/trac/boost/changeset/72270

Log:
Ticket #5145
Text files modified:
   branches/release/boost/uuid/name_generator.hpp | 8 ++++----
   1 files changed, 4 insertions(+), 4 deletions(-)

Modified: branches/release/boost/uuid/name_generator.hpp
==============================================================================
--- branches/release/boost/uuid/name_generator.hpp (original)
+++ branches/release/boost/uuid/name_generator.hpp 2011-05-29 20:35:00 EDT (Sun, 29 May 2011)
@@ -71,10 +71,10 @@
 
         for (size_t i=0; i<count; i++) {
             uint32_t c = characters[i];
- sha.process_byte( (c >> 0) && 0xFF );
- sha.process_byte( (c >> 8) && 0xFF );
- sha.process_byte( (c >> 16) && 0xFF );
- sha.process_byte( (c >> 24) && 0xFF );
+ sha.process_byte( (c >> 0) & 0xFF );
+ sha.process_byte( (c >> 8) & 0xFF );
+ sha.process_byte( (c >> 16) & 0xFF );
+ sha.process_byte( (c >> 24) & 0xFF );
         }
     }
     


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk