Commit d9167290 authored by Maik Qualmann's avatar Maik Qualmann

more 64 bit fixes

parent eaf579dc
......@@ -876,7 +876,7 @@ void BlurFXFilter::shakeBlur(DImg* const orgImage, DImg* const destImage, int Di
int progress;
int numBytes = orgImage->numBytes();
quint64 numBytes = orgImage->numBytes();
QScopedArrayPointer<uchar> layer1(new uchar[numBytes]);
QScopedArrayPointer<uchar> layer2(new uchar[numBytes]);
QScopedArrayPointer<uchar> layer3(new uchar[numBytes]);
......@@ -83,7 +83,7 @@ unsigned char*& DImgLoader::imageData()
return m_image->m_priv->data;
unsigned int DImgLoader::imageNumBytes() const
quint64 DImgLoader::imageNumBytes() const
return m_image->numBytes();
......@@ -116,7 +116,7 @@ protected:
bool imageHasAlpha() const;
bool imageSixteenBit() const;
unsigned int imageNumBytes() const;
quint64 imageNumBytes() const;
int imageBitsDepth() const;
int imageBytesDepth() const;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment