From 02e51677223d4b3f9c33f2e13f0b98326433a83d Mon Sep 17 00:00:00 2001
From: Franz Detro <franz.detro@native-instruments.de>
Date: Tue, 4 Sep 2012 12:33:17 +0200
Subject: [PATCH] fix VC runtime check (int truncated to a char)
---
boost/crc.hpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/boost/crc.hpp b/boost/crc.hpp
index 6be5aa1..4020606 100644
a
|
b
|
namespace detail
|
575 | 575 | |
576 | 576 | // Compare a byte to the remainder's highest byte |
577 | 577 | static unsigned char index( value_type rem, unsigned char x ) |
578 | | { return x ^ rem; } |
| 578 | { return (x ^ rem) & 0xff; } |
| 579 | |
579 | 580 | |
580 | 581 | // Shift out the remainder's highest byte |
581 | 582 | static value_type shift( value_type rem ) |