Fixed gcc compilation errors.
git-svn-id: https://rapidjson.googlecode.com/svn/trunk@43 c5894555-1306-4e8d-425f-1f6f381ee07c
This commit is contained in:
parent
3b1a995d21
commit
8c15b1d580
@ -247,7 +247,7 @@ struct UTF16LE : UTF16<CharType> {
|
||||
}
|
||||
|
||||
template <typename OutputStream>
|
||||
static void Put(OutputStream& os, Ch c) {
|
||||
static void Put(OutputStream& os, CharType c) {
|
||||
os.Put(c & 0xFFu);
|
||||
os.Put((c >> 8) & 0xFFu);
|
||||
}
|
||||
@ -274,7 +274,7 @@ struct UTF16BE : UTF16<CharType> {
|
||||
}
|
||||
|
||||
template <typename OutputStream>
|
||||
static void Put(OutputStream& os, Ch c) {
|
||||
static void Put(OutputStream& os, CharType c) {
|
||||
os.Put((c >> 8) & 0xFFu);
|
||||
os.Put(c & 0xFFu);
|
||||
}
|
||||
@ -336,7 +336,7 @@ struct UTF32LE : UTF32<CharType> {
|
||||
}
|
||||
|
||||
template <typename OutputStream>
|
||||
static void Put(OutputStream& os, Ch c) {
|
||||
static void Put(OutputStream& os, CharType c) {
|
||||
os.Put(c & 0xFFu);
|
||||
os.Put((c >> 8) & 0xFFu);
|
||||
os.Put((c >> 16) & 0xFFu);
|
||||
@ -367,7 +367,7 @@ struct UTF32BE : UTF32<CharType> {
|
||||
}
|
||||
|
||||
template <typename OutputStream>
|
||||
static void Put(OutputStream& os, Ch c) {
|
||||
static void Put(OutputStream& os, CharType c) {
|
||||
os.Put((c >> 24) & 0xFFu);
|
||||
os.Put((c >> 16) & 0xFFu);
|
||||
os.Put((c >> 8) & 0xFFu);
|
||||
|
Loading…
x
Reference in New Issue
Block a user