Change function signature from float to double to match type get_doubleCloses #16160

(cherry picked from commit d2f1c87063)
This commit is contained in:
hungrymonkey 2018-01-29 15:45:46 -08:00 committed by Hein-Pieter van Braam
parent fa98637aca
commit 245c11be08
2 changed files with 2 additions and 2 deletions

View File

@ -310,7 +310,7 @@ float StreamPeer::get_float() {
return decode_float(buf); return decode_float(buf);
} }
float StreamPeer::get_double() { double StreamPeer::get_double() {
uint8_t buf[8]; uint8_t buf[8];
get_data(buf, 8); get_data(buf, 8);

View File

@ -83,7 +83,7 @@ public:
uint64_t get_u64(); uint64_t get_u64();
int64_t get_64(); int64_t get_64();
float get_float(); float get_float();
float get_double(); double get_double();
String get_string(int p_bytes); String get_string(int p_bytes);
String get_utf8_string(int p_bytes); String get_utf8_string(int p_bytes);
Variant get_var(); Variant get_var();