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
_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to