summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
authorMark Mentovai <mark@chromium.org>2015-03-20 15:11:12 -0400
committerMark Mentovai <mark@chromium.org>2015-03-20 19:12:57 +0000
commitfd697fc2963b8adccc629356fd94cbc08f3b9880 (patch)
tree5ae78d204952a520607df964b6b83e994c39d824 /base
parent3ad92fa676ff9515194c9bc9ecafff7942129f5a (diff)
downloadchromium_src-fd697fc2963b8adccc629356fd94cbc08f3b9880.zip
chromium_src-fd697fc2963b8adccc629356fd94cbc08f3b9880.tar.gz
chromium_src-fd697fc2963b8adccc629356fd94cbc08f3b9880.tar.bz2
Declare string16 traits’ move() correctly.
R=danakj@chromium.org Review URL: https://codereview.chromium.org/1020333002 Cr-Commit-Position: refs/heads/master@{#321610}
Diffstat (limited to 'base')
-rw-r--r--base/strings/string16.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/strings/string16.h b/base/strings/string16.h
index 804dca4..1a01a96 100644
--- a/base/strings/string16.h
+++ b/base/strings/string16.h
@@ -94,7 +94,7 @@ struct string16_char_traits {
return c16memchr(s, a, n);
}
- static char_type* move(char_type* s1, const char_type* s2, int_type n) {
+ static char_type* move(char_type* s1, const char_type* s2, size_t n) {
return c16memmove(s1, s2, n);
}