BIND 10 master, updated. 347f566f840f62982216fa4a8e4a6840ad286247 [master] qualify memcpy with std::, it won't compile with sunstudio otherwise.
BIND 10 source code commits
bind10-changes at lists.isc.org
Sun Jul 29 05:04:26 UTC 2012
The branch, master has been updated
via 347f566f840f62982216fa4a8e4a6840ad286247 (commit)
from c6de8f18c1676baf8ec66ddc2c37f70d3c5b27fe (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 347f566f840f62982216fa4a8e4a6840ad286247
Author: JINMEI Tatuya <jinmei at isc.org>
Date: Sun Jul 29 05:02:49 2012 +0000
[master] qualify memcpy with std::, it won't compile with sunstudio otherwise.
in response to buildbot report. confirmed the fix on the box, and should be
trivial. so directly committing.
-----------------------------------------------------------------------
Summary of changes:
src/lib/dns/labelsequence.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
-----------------------------------------------------------------------
diff --git a/src/lib/dns/labelsequence.cc b/src/lib/dns/labelsequence.cc
index 5675e5a..3a90dbb 100644
--- a/src/lib/dns/labelsequence.cc
+++ b/src/lib/dns/labelsequence.cc
@@ -88,7 +88,7 @@ LabelSequence::serialize(void* buf, size_t buf_len) const {
*bp++ = offsets_[first_label_ + i] - offsets_[first_label_];
}
const size_t ndata_len = getDataLength();
- memcpy(bp, &data_[offsets_[first_label_]], ndata_len);
+ std::memcpy(bp, &data_[offsets_[first_label_]], ndata_len);
bp += ndata_len;
assert(bp - reinterpret_cast<const uint8_t*>(buf) == expected_size);
More information about the bind10-changes
mailing list