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

Commit f85e41f2 authored by Narayan Kamath's avatar Narayan Kamath Committed by Adam Lesinski
Browse files

AssetManager cookies are now int32_t, not void*.

Change-Id: Id383e31922ca81c52dad52d422c5c1ab1a1365ce
parent ca0b0c18
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -588,7 +588,7 @@ int doDump(Bundle* bundle)
    const char* filename = bundle->getFileSpecEntry(1);

    AssetManager assets;
    void* assetsCookie;
    int32_t assetsCookie;
    if (!assets.addAssetPath(String8(filename), &assetsCookie)) {
        fprintf(stderr, "ERROR: dump failed because assets could not be loaded\n");
        return 1;