1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* ext/win32ole/win32ole.c: supress warnings. (win32)

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ocean 2005-08-25 06:51:33 +00:00
parent fec37d5036
commit a5df717c8e
2 changed files with 5 additions and 2 deletions

View file

@ -1,3 +1,7 @@
Thu Aug 25 15:48:58 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
* ext/win32ole/win32ole.c: supress warnings. (win32)
Wed Aug 24 11:01:26 2005 NAKAMURA Usaku <usa@ruby-lang.org>
* test/logger/test_logger.rb (test_shifting_size): should close log

View file

@ -1007,7 +1007,7 @@ ole_val2olevariantdata(val, vtype, pvar)
} else {
VariantInit(&var);
hr = VariantChangeTypeEx(&(var), &(pvar->realvar),
LOCALE_SYSTEM_DEFAULT, 0, vtype & ~VT_BYREF);
LOCALE_SYSTEM_DEFAULT, 0, (VARTYPE)(vtype & ~VT_BYREF));
if (SUCCEEDED(hr)) {
VariantClear(&(pvar->realvar));
hr = VariantCopy(&(pvar->realvar), &var);
@ -6861,7 +6861,6 @@ folevariant_initialize(self, args)
VALUE val;
VALUE vvt;
VARTYPE vt;
HRESULT hr;
struct olevariantdata *pvar;
len = RARRAY(args)->len;