Ticket #19353: kio-kfile-kpropertiesdialog.patch

File kio-kfile-kpropertiesdialog.patch, 748 bytes (added by astricker@…, 15 years ago)

Compiler fix for kio/kfile/kpropertiesdialog.cpp, put it to files/

  • kdelibs-4.2.2/kio/kfile/kpropertiesdialog.cpp

    or ..  
    17671767    strUser = user->pw_name;
    17681768
    17691769#ifdef Q_OS_UNIX
     1770#ifdef Q_OS_MAC
     1771        typedef int group_id_t_;
     1772#else
     1773        typedef gid_t group_id_t_;
     1774#endif
     1775
    17701776    // pick the groups to which the user belongs
    17711777    int groupCount = 0;
    1772     gid_t *groups = NULL;
     1778    group_id_t_ *groups = NULL;
    17731779    if (getgrouplist(strUser, user->pw_gid, NULL, &groupCount) < 0) {
    1774         groups = new gid_t[groupCount];
     1780        groups = new group_id_t_[groupCount];
    17751781        if (groups) {
    17761782            getgrouplist(strUser, user->pw_gid, groups, &groupCount);
    17771783        } else {