[vlc-commits] [Git][videolan/vlc][master] win32/spawn: fix attribute_list_size type

Steve Lhomme (@robUx4) gitlab at videolan.org
Thu Jan 26 13:22:11 UTC 2023



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
54a03008 by Steve Lhomme at 2023-01-26T13:04:12+00:00
win32/spawn: fix attribute_list_size type

size_t and SIZE_T are not the same type in Windows.

- - - - -


1 changed file:

- src/win32/spawn.c


Changes:

=====================================
src/win32/spawn.c
=====================================
@@ -33,7 +33,7 @@
 
 static LPPROC_THREAD_ATTRIBUTE_LIST allow_hstd_inherit(HANDLE *handles)
 {
-    size_t attribute_list_size;
+    SIZE_T attribute_list_size;
     InitializeProcThreadAttributeList(NULL, 1, 0, &attribute_list_size);
 
     LPPROC_THREAD_ATTRIBUTE_LIST lpAttributeList = malloc(attribute_list_size);



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/54a03008300b1504fe46f4148214545aba1c15e0

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


VideoLAN code repository instance


More information about the vlc-commits mailing list