Not sure why the compilers don't complain on Linux, but the mingw
compiler demands this cast or it throws an error:
--- layer1/P.cpp.orig 2017-10-24 16:34:00 -0700
+++ layer1/P.cpp 2017-10-24 16:34:47 -0700
@@ -1782,7 +1782,7 @@
si.wShowWindow = SW_HIDE;
if(IsSecurityRequired()) {
- lpSD = GlobalAlloc(GPTR, SECURITY_DESCRIPTOR_MIN_LENGTH);
+ lpSD = (PSECURITY_DESCRIPTOR) GlobalAlloc(GPTR,
SECURITY_DESCRIPTOR_MIN_LENGTH);
InitializeSecurityDescriptor(lpSD,
SECURITY_DESCRIPTOR_REVISION);
SetSecurityDescriptorDacl(lpSD, -1, 0, 0);
Regards,
David Mathog
mat...@caltech.edu
Manager, Sequence Analysis Facility, Biology Division, Caltech
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net