projects
/
icu
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f9cf08
)
ICU-11751 Fix Windows build problem with revised reslist.cpp, again.
author
Andy Heninger
<andy.heninger@gmail.com>
Wed, 24 Jun 2015 23:21:11 +0000
(23:21 +0000)
committer
Andy Heninger
<andy.heninger@gmail.com>
Wed, 24 Jun 2015 23:21:11 +0000
(23:21 +0000)
X-SVN-Rev: 37622
icu4c/source/tools/genrb/reslist.cpp
patch
|
blob
|
history
diff --git
a/icu4c/source/tools/genrb/reslist.cpp
b/icu4c/source/tools/genrb/reslist.cpp
index 56b0a991506c817c435a495bb11ede49c2cb732b..f4d7e1f5ff1b25f20f5276127917c2f05061b983 100644
(file)
--- a/
icu4c/source/tools/genrb/reslist.cpp
+++ b/
icu4c/source/tools/genrb/reslist.cpp
@@
-1564,7
+1564,7
@@
string_writeUTF16v2(struct SRBRoot *bundle, StringResource *res, int32_t utf16Le
}
// u_memcpy note: Type of bundle->f16BitUnits is (uint16_t *). u_memcpy wants (UChar *).
// On Windows, these are different, UChar is typedefed to wchar_t.
- u_memcpy(
static_cast<UChar *>
(bundle->f16BitUnits + utf16Length), res->getBuffer(), length + 1);
+ u_memcpy(
(UChar *)
(bundle->f16BitUnits + utf16Length), res->getBuffer(), length + 1);
return utf16Length + length + 1;
}