]> git.ipfire.org Git - thirdparty/bacula.git/commit
win32: fix HRESULT constant mismatch between signed and unsigned
authorAlain Spineux <alain@baculasystems.com>
Thu, 2 Feb 2023 13:32:54 +0000 (14:32 +0100)
committerEric Bollengier <eric@baculasystems.com>
Thu, 14 Sep 2023 11:57:01 +0000 (13:57 +0200)
commit38fd8820752f9fc64b2dd10ee054c4a14dac05fd
treeeae414ea09be09867bf83db4c77933ab2314dc4d
parent60d11b55492d757cae1a3ba545eccaadef4ac736
win32: fix HRESULT constant mismatch between signed and unsigned

- HRESULT is a 32bits signed value
- some constant are >= 0x80000000 that are out of the range of a signed 32
- An alternative would be to set the type casting inside the .h file in the
  depkgs directory
- this concern (in 64bits)
- VSS_E_INVALID_XML_DOCUMENT
- VSS_E_OBJECT_NOT_FOUND
- VSS_E_BAD_STATE
- VSS_E_WRITER_INFRASTRUCTURE
- VSS_E_WRITER_NOT_RESPONDING
bacula/src/win32/filed/vss_generic.cpp