Merge pull request #25150 from eska014/html5-warning

Fix HTML5 build warning
This commit is contained in:
Rémi Verschelde 2019-01-20 09:25:21 +01:00 committed by GitHub
commit f0035b7cc7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 4 deletions

View file

@ -39,9 +39,9 @@ class RandomPCG {
pcg32_random_t pcg;
public:
static const uint64_t DEFAULT_SEED = 12047754176567800795ULL;
static const uint64_t DEFAULT_SEED = 12047754176567800795U;
static const uint64_t DEFAULT_INC = PCG_DEFAULT_INC_64;
static const uint64_t RANDOM_MAX = 4294967295;
static const uint64_t RANDOM_MAX = 0xFFFFFFFF;
RandomPCG(uint64_t seed = DEFAULT_SEED, uint64_t inc = PCG_DEFAULT_INC_64);

View file

@ -58,6 +58,7 @@ class OS_JavaScript : public OS_Unix {
int last_click_button_index;
MainLoop *main_loop;
int video_driver_index;
AudioDriverJavaScript audio_driver_javascript;
bool idb_available;
@ -85,8 +86,6 @@ class OS_JavaScript : public OS_Unix {
static void file_access_close_callback(const String &p_file, int p_flags);
int video_driver_index;
protected:
virtual int get_current_video_driver() const;