mirror of
https://github.com/openharmony/windowmanager.git
synced 2026-07-21 12:35:22 -04:00
Fix 64-bit compile issues for TDD
Signed-off-by: maojiangping <maojiangping@huawei.com> Change-Id: I3c1004f7bc6f700452bcbbc31f01e58363e48472
This commit is contained in:
@@ -13,9 +13,10 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
// gtest
|
||||
#include <cinttypes>
|
||||
#include <cstdlib>
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include "display_test_utils.h"
|
||||
#include "pixel_map.h"
|
||||
|
||||
@@ -51,7 +52,7 @@ void ScreenshotCmdTest::SetUpTestCase()
|
||||
WLOGFE("GetDefaultDisplay: failed!\n");
|
||||
return;
|
||||
}
|
||||
WLOGFI("GetDefaultDisplay: id %llu, w %d, h %d, fps %u\n", display->GetId(), display->GetWidth(),
|
||||
WLOGFI("GetDefaultDisplay: id %" PRIu64", w %d, h %d, fps %u\n", display->GetId(), display->GetWidth(),
|
||||
display->GetHeight(), display->GetRefreshRate());
|
||||
|
||||
defaultId_ = display->GetId();
|
||||
|
||||
@@ -13,8 +13,9 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
// gtest
|
||||
#include <cinttypes>
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include "display_test_utils.h"
|
||||
#include "pixel_map.h"
|
||||
|
||||
@@ -52,7 +53,7 @@ void ScreenshotTest::SetUpTestCase()
|
||||
WLOGFE("GetDefaultDisplay: failed!\n");
|
||||
return;
|
||||
}
|
||||
WLOGFI("GetDefaultDisplay: id %llu, w %d, h %d, fps %u\n", display->GetId(), display->GetWidth(),
|
||||
WLOGFI("GetDefaultDisplay: id %" PRIu64", w %d, h %d, fps %u\n", display->GetId(), display->GetWidth(),
|
||||
display->GetHeight(), display->GetRefreshRate());
|
||||
|
||||
defaultId_ = display->GetId();
|
||||
|
||||
Reference in New Issue
Block a user