summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@nokia.com>2012-04-27 23:24:00 +0200
committerQt by Nokia <qt-info@nokia.com>2012-04-28 01:16:20 +0200
commit9d1f1b09014c03cba323346252c11c6c52e579bd (patch)
tree82d1012e81c74fae164ba6160c80cbe7f181d67a /src
parent1fc28ff56c93c33e4f0491c77920d8cee4e614b2 (diff)
Get rid of some deprecation warnings
Change-Id: I05e6f9479789652cc1536cb5bced2bc8fa664c84 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src')
-rw-r--r--src/gui/image/qpnghandler.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/image/qpnghandler.cpp b/src/gui/image/qpnghandler.cpp
index ec7e7d25d0..04f3b4f332 100644
--- a/src/gui/image/qpnghandler.cpp
+++ b/src/gui/image/qpnghandler.cpp
@@ -424,11 +424,11 @@ static void read_image_scaled(QImage *outImage, png_structp png_ptr, png_infop i
const quint32 oxsz = scaledSize.width();
const quint32 ibw = 4*width;
amp.accRow = new quint32[ibw];
- qMemSet(amp.accRow, 0, ibw*sizeof(quint32));
+ memset(amp.accRow, 0, ibw*sizeof(quint32));
amp.inRow = new png_byte[ibw];
- qMemSet(amp.inRow, 0, ibw*sizeof(png_byte));
+ memset(amp.inRow, 0, ibw*sizeof(png_byte));
amp.outRow = new uchar[ibw];
- qMemSet(amp.outRow, 0, ibw*sizeof(uchar));
+ memset(amp.outRow, 0, ibw*sizeof(uchar));
qint32 rval = 0;
for (quint32 oy=0; oy<oysz; oy++) {
// Store the rest of the previous input row, if any