mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 829288 - fix warnings under browser/ r=gavin
This commit is contained in:
parent
78c0c89df2
commit
034d79f06b
@ -7,11 +7,12 @@
|
||||
|
||||
#include <urlhist.h>
|
||||
|
||||
#include "mozilla/Attributes.h"
|
||||
#include "nsISimpleEnumerator.h"
|
||||
#include "nsIWritablePropertyBag2.h"
|
||||
#include "nsAutoPtr.h"
|
||||
|
||||
class nsIEHistoryEnumerator : public nsISimpleEnumerator
|
||||
class nsIEHistoryEnumerator MOZ_FINAL : public nsISimpleEnumerator
|
||||
{
|
||||
public:
|
||||
NS_DECL_ISUPPORTS
|
||||
|
@ -135,9 +135,9 @@ OpenKeyForReading(HKEY aKeyRoot, const nsAString& aKeyName, HKEY* aKey)
|
||||
|
||||
// The values checked are all default values so the value name is not needed.
|
||||
typedef struct {
|
||||
char* keyName;
|
||||
char* valueData;
|
||||
char* oldValueData;
|
||||
const char* keyName;
|
||||
const char* valueData;
|
||||
const char* oldValueData;
|
||||
} SETTING;
|
||||
|
||||
#define APP_REG_NAME L"Firefox"
|
||||
@ -317,7 +317,7 @@ IsWin8OrLater()
|
||||
osInfo.dwOSVersionInfoSize = sizeof(OSVERSIONINFOW);
|
||||
GetVersionExW(&osInfo);
|
||||
return osInfo.dwMajorVersion > 6 ||
|
||||
osInfo.dwMajorVersion >= 6 && osInfo.dwMinorVersion >= 2;
|
||||
(osInfo.dwMajorVersion >= 6 && osInfo.dwMinorVersion >= 2);
|
||||
}
|
||||
|
||||
static bool
|
||||
|
Loading…
Reference in New Issue
Block a user