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

Commit ac745c1c authored by Mike Lockwood's avatar Mike Lockwood
Browse files

MTP: Fix some warnings



Change-Id: I1302cacd1df885c770332cecaaea9f7c8ab97b88
Signed-off-by: default avatarMike Lockwood <lockwood@android.com>
parent a2a21284
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -52,7 +52,7 @@ android_media_MtpCursor_setup(JNIEnv *env, jobject thiz, jobject javaClient,
        jint queryType, jint deviceID, jlong storageID, jlong objectID, jintArray javaColumns)
{
#ifdef HAVE_ANDROID_OS
    LOGD("android_media_MtpCursor_setup queryType: %d deviceID: %d storageID: %d objectID: %d\n",
    LOGD("android_media_MtpCursor_setup queryType: %d deviceID: %d storageID: %lld objectID: %lld\n",
                queryType, deviceID, storageID, objectID);

    int* columns = NULL;
+1 −1
Original line number Diff line number Diff line
@@ -101,7 +101,7 @@ void MtpObjectInfo::print() {
            mImagePixWidth, mImagePixHeight, mImagePixDepth);
    LOGD("  mParent: %08X mAssociationType: %04X mAssociationDesc: %04X\n",
            mParent, mAssociationType, mAssociationDesc);
    LOGD("  mSequenceNumber: %d mDateCreated: %d mDateModified: %d mKeywords: %s\n",
    LOGD("  mSequenceNumber: %d mDateCreated: %ld mDateModified: %ld mKeywords: %s\n",
            mSequenceNumber, mDateCreated, mDateModified, mKeywords);
}

+1 −1
Original line number Diff line number Diff line
@@ -321,7 +321,7 @@ static int shell() {
        buffer[0] = 0;
        fgets(buffer, sizeof(buffer), stdin);
        int count = strlen(buffer);
        if (count > 0 && buffer[0] == EOF) {
        if (count > 0 && buffer[0] == (char)EOF) {
            printf("\n");
            exit(0);
        }