File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
database/src/desktop/core Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,8 @@ static const char kNameSubkeyServerValue[] = ".sv";
28
28
29
29
Variant GenerateServerValues (int64_t server_time_offset) {
30
30
Variant server_values = Variant::EmptyMap ();
31
- int64_t corrected_time = time (nullptr ) * 1000L + server_time_offset;
31
+ int64_t corrected_time =
32
+ static_cast <int64_t >(time (nullptr )) * 1000L + server_time_offset;
32
33
server_values.map ()[" timestamp" ] = Variant::FromInt64 (corrected_time);
33
34
return server_values;
34
35
}
Original file line number Diff line number Diff line change @@ -584,6 +584,8 @@ code.
584
584
the Google-Mobile-Ads-SDK Cocoapod, "7.69.0-cppsdk2", to maintain
585
585
compatibility with version 9.x of the Firebase iOS SDK.
586
586
- Analytics: Removed deprecated event names and parameters.
587
+ - Realtime Database (Desktop): Fixed a bug handling server timestamps
588
+ on 32-bit CPUs.
587
589
- Storage (Desktop): Set Content-Type HTTP header when uploading with
588
590
custom metadata.
589
591
You can’t perform that action at this time.
0 commit comments