comparison src/if_ole.cpp @ 14325:89dd0ad361fb v8.1.0178

patch 8.1.0178: warning for passing pointer to non-pointer argument commit https://github.com/vim/vim/commit/e76c4b237d41d0e62ca5d4fc76d1dd163fe222c0 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Jul 11 22:57:54 2018 +0200 patch 8.1.0178: warning for passing pointer to non-pointer argument Problem: Warning for passing pointer to non-pointer argument. Solution: Use zero instead of NULL.
author Christian Brabandt <cb@256bit.org>
date Wed, 11 Jul 2018 23:00:07 +0200
parents 4aead6a9b7a9
children 7fad90423bd2
comparison
equal deleted inserted replaced
14324:b4ea70c0eb82 14325:89dd0ad361fb
757 757
758 // Register the application object as active 758 // Register the application object as active
759 hr = RegisterActiveObject( 759 hr = RegisterActiveObject(
760 app, 760 app,
761 MYCLSID, 761 MYCLSID,
762 NULL, 762 0,
763 &app_id); 763 &app_id);
764 764
765 if (FAILED(hr)) 765 if (FAILED(hr))
766 { 766 {
767 MessageBox(0, "Cannot register application object", "Vim Initialisation", 0); 767 MessageBox(0, "Cannot register application object", "Vim Initialisation", 0);