Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 623cf543 authored by Chih-Hung Hsieh's avatar Chih-Hung Hsieh
Browse files

Fix cert-dcl16-c warnings

Bug: 120614316
Test: make tidy-frameworks-base_subset
Change-Id: Ie71c06e02fcb9a2f90508c37d926a79e0b591c5a
parent a31dc6da
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -50,7 +50,7 @@ TEST_F(BackupHelpersTest, WriteTarFileWithSizeLessThan2GB) {
TEST_F(BackupHelpersTest, WriteTarFileWithSizeGreaterThan2GB) {
  TemporaryFile tf;
  // Allocate a 2 GB file.
  off64_t fileSize = 2ll * 1024ll * 1024ll * 1024ll + 512ll;
  off64_t fileSize = 2LL * 1024LL * 1024LL * 1024LL + 512LL;
  ASSERT_EQ(0, posix_fallocate64(tf.fd, 0, fileSize));
  off64_t tarSize = 0;
  int err = write_tarfile(/* packageName */ String8("test-pkg"), /* domain */ String8(""), /* rootpath */ String8(""), /* filePath */ String8(tf.path), /* outSize */ &tarSize, /* writer */ NULL);
+6 −6
Original line number Diff line number Diff line
@@ -30,7 +30,7 @@ namespace BroadcastRadio {
// Keep in sync with STATUS_* constants from RadioManager.java.
enum class Status : jint {
    OK = 0,
    ERROR = -0x80000000ll,  // Integer.MIN_VALUE
    ERROR = -0x80000000LL,   // Integer.MIN_VALUE
    PERMISSION_DENIED = -1,  // -EPERM
    NO_INIT = -19,           // -ENODEV
    BAD_VALUE = -22,         // -EINVAL