]> git.proxmox.com Git - mirror_smartmontools-debian.git/blobdiff - os_win32/wmiquery.cpp
Change second dh_systemd_enable to _start
[mirror_smartmontools-debian.git] / os_win32 / wmiquery.cpp
index 5181f92df30e14a84a7322631e2034688fc12fa0..861ae4acc37805d2a94a13298fdc7d8c70c1d9c9 100644 (file)
@@ -1,9 +1,9 @@
 /*
  * os_win32/wmiquery.cpp
  *
- * Home page of code is: http://smartmontools.sourceforge.net
+ * Home page of code is: http://www.smartmontools.org
  *
- * Copyright (C) 2011 Christian Franke <smartmontools-support@lists.sourceforge.net>
+ * Copyright (C) 2011-13 Christian Franke <smartmontools-support@lists.sourceforge.net>
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -23,7 +23,7 @@
 
 #include <stdio.h>
 
-const char * wmiquery_cpp_cvsid = "$Id: wmiquery.cpp 3243 2011-01-19 20:03:47Z chrfranke $"
+const char * wmiquery_cpp_cvsid = "$Id: wmiquery.cpp 4120 2015-08-27 16:12:21Z samm2 $"
   WMIQUERY_H_CVSID;
 
 
@@ -67,7 +67,7 @@ std::string wbem_object::get_str(const char * name) /*const*/
     return s;
 
   VARIANT var; VariantInit(&var);
-  if (m_intf->Get(com_bstr(name), 0L, &var, (CIMTYPE*)0, (long*)0) /* != WBEM_S_NO_ERROR */)
+  if (m_intf->Get(com_bstr(name), 0L, &var, (CIMTYPE*)0, (LPLONG)0) /* != WBEM_S_NO_ERROR */)
     return s;
 
   if (var.vt == VT_BSTR)