Skip to content

Commit 6525bd5

Browse files
committed
C++20 error fix in ImageTargetFileWic
1 parent 5731663 commit 6525bd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cinder/ImageTargetFileWic.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ ImageTargetFileWic::ImageTargetFileWic( DataTargetRef dataTarget, ImageSourceRef
174174

175175
// setup the propertyBag to express quality
176176
PROPBAG2 option = { 0 };
177-
option.pstrName = L"ImageQuality";
177+
option.pstrName = const_cast<wchar_t*>( L"ImageQuality" );
178178
VARIANT varValue;
179179
VariantInit(&varValue);
180180
varValue.vt = VT_R4;

0 commit comments

Comments
 (0)