X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/4388f060552cc537e71e957d32f35e9d75a61233..2ca993e82fb37b597a3c73ecd1586a139a6579c5:/icuSources/common/bytestrieiterator.cpp diff --git a/icuSources/common/bytestrieiterator.cpp b/icuSources/common/bytestrieiterator.cpp index d8318f65..e50f07c2 100644 --- a/icuSources/common/bytestrieiterator.cpp +++ b/icuSources/common/bytestrieiterator.cpp @@ -1,6 +1,6 @@ /* ******************************************************************************* -* Copyright (C) 2010-2011, International Business Machines +* Copyright (C) 2010-2012, International Business Machines * Corporation and others. All Rights Reserved. ******************************************************************************* * file name: bytestrieiterator.cpp @@ -22,7 +22,7 @@ U_NAMESPACE_BEGIN BytesTrie::Iterator::Iterator(const void *trieBytes, int32_t maxStringLength, UErrorCode &errorCode) - : bytes_(reinterpret_cast(trieBytes)), + : bytes_(static_cast(trieBytes)), pos_(bytes_), initialPos_(bytes_), remainingMatchLength_(-1), initialRemainingMatchLength_(-1), str_(NULL), maxLength_(maxStringLength), value_(0), stack_(NULL) {