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

Commit e099da37 authored by Al Sutton's avatar Al Sutton Committed by David Ferguson
Browse files

Xcode 4.3 compatibility checkin



PackageInfo is declared as a class, but is used as a struct in a couple of
places which causes the Xcode 4.3 compiler to fail.

This patch removes the struct usage which is causing the compiler to fail.

Signed-off-by: default avatarAl Sutton <al@funkyandroid.com>
parent 9788e7f5
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -89,7 +89,7 @@ void usage(void)
        "   Prints the OBB signature information of a file.\n\n", gProgName);
}

void doAdd(const char* filename, struct PackageInfo* info) {
void doAdd(const char* filename, PackageInfo* info) {
    ObbFile *obb = new ObbFile();
    if (obb->readFrom(filename)) {
        fprintf(stderr, "ERROR: %s: OBB signature already present\n", filename);
@@ -182,7 +182,7 @@ int main(int argc, char* const argv[])
{
    int opt;
    int option_index = 0;
    struct PackageInfo package_info;
    PackageInfo package_info;

    int result = 1;    // pessimistically assume an error.