[vlc-commits] [Git][videolan/vlc][master] dwrite: use a LONG for the IDWriteTextAnalysisSource refcount

Jean-Baptiste Kempf gitlab at videolan.org
Sun Jun 27 20:24:14 UTC 2021



Jean-Baptiste Kempf pushed to branch master at VideoLAN / VLC


Commits:
2daf3cbf by Steve Lhomme at 2021-06-26T13:47:06+00:00
dwrite: use a LONG for the IDWriteTextAnalysisSource refcount

That's what is expected by InterlockedIncrement/InterlockedDecrement and how
it's done elsewhere.

- - - - -


1 changed file:

- modules/text_renderer/freetype/fonts/dwrite.cpp


Changes:

=====================================
modules/text_renderer/freetype/fonts/dwrite.cpp
=====================================
@@ -239,7 +239,7 @@ class TextSource : public IDWriteTextAnalysisSource
     IDWriteNumberSubstitution   *mp_substitution;
     wchar_t                      mpwsz_text[ 3 ];
     uint32_t                     mi_text_length;
-    ULONG                        ml_ref_count;
+    LONG                         ml_ref_count;
 
 public:
     TextSource( IDWriteNumberSubstitution *p_substitution,



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/2daf3cbf719d490bbb05d14a9d6cbacfd3126064

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/2daf3cbf719d490bbb05d14a9d6cbacfd3126064
You're receiving this email because of your account on code.videolan.org.




More information about the vlc-commits mailing list