From 11c993e9f0b29c5f3bf9df68d9f27b3dd1a21afe Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mathias=20Panzenb=C3=B6ck?= Date: Mon, 1 Aug 2011 15:33:27 +0200 Subject: [PATCH] use DATA() macro --- taglib/toolkit/tbytevector.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/taglib/toolkit/tbytevector.cpp b/taglib/toolkit/tbytevector.cpp index 623a8c37..5edbfbfe 100644 --- a/taglib/toolkit/tbytevector.cpp +++ b/taglib/toolkit/tbytevector.cpp @@ -463,7 +463,7 @@ ByteVector &ByteVector::replace(const ByteVector &pattern, const ByteVector &wit // new private data of appropriate size: ByteVectorPrivate *newData = new ByteVectorPrivate(newSize, 0); - char *target = &newData->data[0]; + char *target = DATA(newData); const char *source = data(); // copy modified data into new private data: -- 2.40.0