Ticket #53427: patch-cpp11-narrowing-error.diff
File patch-cpp11-narrowing-error.diff, 505 bytes (added by RJVB (René Bertin), 8 years ago) |
---|
-
modules/highgui/src/window_QT.cpp
old new 103 103 float dx;//spacing letter in Qt (0 default) in pixel 104 104 int line_type;//<- pointSize in Qt 105 105 */ 106 CvFont f = {nameFont,color,style,NULL,NULL,NULL,0,0,0,weight,s pacing,pointSize};106 CvFont f = {nameFont,color,style,NULL,NULL,NULL,0,0,0,weight,static_cast<float>(spacing),pointSize}; 107 107 return f; 108 108 } 109 109