diff options
author | Jay Mundrawala <jdmundrawala@gmail.com> | 2015-04-09 18:08:31 -0700 |
---|---|---|
committer | Jay Mundrawala <jdmundrawala@gmail.com> | 2015-05-15 08:51:15 -0700 |
commit | aa5a7b77d171a919f254dc1b23ee0f7e4347d71c (patch) | |
tree | 85a7e223c4d3a7ce97d063e916842ee1187468bb | |
parent | b086721ca70750277c407fd0cc573a08f076649f (diff) | |
download | chef-aa5a7b77d171a919f254dc1b23ee0f7e4347d71c.tar.gz |
Change handle to size_t
-rw-r--r-- | lib/chef/win32/api.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/win32/api.rb b/lib/chef/win32/api.rb index efa632f454..9f1ecf4c4b 100644 --- a/lib/chef/win32/api.rb +++ b/lib/chef/win32/api.rb @@ -67,7 +67,7 @@ class Chef # BaseTsd.h: #ifdef (_WIN64) host.typedef int HALF_PTR; #else host.typedef short HALF_PTR; host.typedef :ulong, :HACCEL # (L) Handle to an accelerator table. WinDef.h: #host.typedef HANDLE HACCEL; # See http://msdn.microsoft.com/en-us/library/ms645526%28VS.85%29.aspx - host.typedef :ulong, :HANDLE # (L) Handle to an object. WinNT.h: #host.typedef PVOID HANDLE; + host.typedef :size_t, :HANDLE # (L) Handle to an object. WinNT.h: #host.typedef PVOID HANDLE; # todo: Platform-dependent! Need to change to :uint64 for Win64 host.typedef :ulong, :HBITMAP # (L) Handle to a bitmap: http://msdn.microsoft.com/en-us/library/dd183377%28VS.85%29.aspx host.typedef :ulong, :HBRUSH # (L) Handle to a brush. http://msdn.microsoft.com/en-us/library/dd183394%28VS.85%29.aspx |