@@ -1032,12 +1032,12 @@ PyInit__msi(void)
10321032 if (m == NULL )
10331033 return NULL ;
10341034
1035- PyModule_AddIntConstant (m , "MSIDBOPEN_CREATEDIRECT" , (int )MSIDBOPEN_CREATEDIRECT );
1036- PyModule_AddIntConstant (m , "MSIDBOPEN_CREATE" , (int )MSIDBOPEN_CREATE );
1037- PyModule_AddIntConstant (m , "MSIDBOPEN_DIRECT" , (int )MSIDBOPEN_DIRECT );
1038- PyModule_AddIntConstant (m , "MSIDBOPEN_READONLY" , (int )MSIDBOPEN_READONLY );
1039- PyModule_AddIntConstant (m , "MSIDBOPEN_TRANSACT" , (int )MSIDBOPEN_TRANSACT );
1040- PyModule_AddIntConstant (m , "MSIDBOPEN_PATCHFILE" , (int )MSIDBOPEN_PATCHFILE );
1035+ PyModule_AddIntConstant (m , "MSIDBOPEN_CREATEDIRECT" , (long )MSIDBOPEN_CREATEDIRECT );
1036+ PyModule_AddIntConstant (m , "MSIDBOPEN_CREATE" , (long )MSIDBOPEN_CREATE );
1037+ PyModule_AddIntConstant (m , "MSIDBOPEN_DIRECT" , (long )MSIDBOPEN_DIRECT );
1038+ PyModule_AddIntConstant (m , "MSIDBOPEN_READONLY" , (long )MSIDBOPEN_READONLY );
1039+ PyModule_AddIntConstant (m , "MSIDBOPEN_TRANSACT" , (long )MSIDBOPEN_TRANSACT );
1040+ PyModule_AddIntConstant (m , "MSIDBOPEN_PATCHFILE" , (long )MSIDBOPEN_PATCHFILE );
10411041
10421042 PyModule_AddIntMacro (m , MSICOLINFO_NAMES );
10431043 PyModule_AddIntMacro (m , MSICOLINFO_TYPES );
0 commit comments