mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-30 05:40:06 +00:00
- Fix build with clang 7
PR: 230948 Reported by: jbeich
This commit is contained in:
parent
022c36de97
commit
22cb9d5197
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=478345
19
graphics/lprof-devel/files/patch-src_lprofqt_imageitem.cpp
Normal file
19
graphics/lprof-devel/files/patch-src_lprofqt_imageitem.cpp
Normal file
@ -0,0 +1,19 @@
|
||||
--- src/lprofqt/imageitem.cpp.orig 2008-03-06 21:18:58 UTC
|
||||
+++ src/lprofqt/imageitem.cpp
|
||||
@@ -174,11 +174,11 @@ void ImageItem::Reload(QString ImageFile
|
||||
|
||||
image_file_name = ImageFile;
|
||||
QString pixtype = QString::fromLocal8Bit(image_data->getPixelType());
|
||||
- int16lprof = (pixtype.contains(QString::fromLocal8Bit("INT16")) > 0);
|
||||
- int32lprof = (pixtype.contains(QString::fromLocal8Bit("INT32")) > 0);
|
||||
- uint8lprof = (pixtype.contains(QString::fromLocal8Bit("UINT8")) > 0);
|
||||
- fltpixlprof = (pixtype.contains(QString::fromLocal8Bit("FLOAT")) > 0);
|
||||
- dblpixlprof = (pixtype.contains(QString::fromLocal8Bit("DOUBLE")) > 0);
|
||||
+ int16lprof = pixtype.contains(QString::fromLocal8Bit("INT16"));
|
||||
+ int32lprof = pixtype.contains(QString::fromLocal8Bit("INT32"));
|
||||
+ uint8lprof = pixtype.contains(QString::fromLocal8Bit("UINT8"));
|
||||
+ fltpixlprof = pixtype.contains(QString::fromLocal8Bit("FLOAT"));
|
||||
+ dblpixlprof = pixtype.contains(QString::fromLocal8Bit("DOUBLE"));
|
||||
|
||||
// try again
|
||||
vigra::DRGBImage in(image_data->width(), image_data->height());
|
Loading…
Reference in New Issue
Block a user