index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Allan McRae <allan@archlinux.org> | 2010-07-07 16:58:51 +1000 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-08-23 21:49:05 -0500 |
commit | 48589ccc64c5e7266f70c6294087e8b0450953e9 (patch) | |
tree | bf6137c4ac190d71905a094db26f72624cbe923f /lib/libalpm/package.h | |
parent | d896527d21107afe69328ac465a3d2f0e318ddca (diff) |
-rw-r--r-- | lib/libalpm/package.h | 6 |
diff --git a/lib/libalpm/package.h b/lib/libalpm/package.h index c8946448..14f81f92 100644 --- a/lib/libalpm/package.h +++ b/lib/libalpm/package.h @@ -67,10 +67,10 @@ struct __pmpkg_t { /* internal */ pmpkgfrom_t origin; /* Replaced 'void *data' with this union as follows: - origin == PKG_FROM_CACHE, use pkg->origin_data.db - origin == PKG_FROM_FILE, use pkg->origin_data.file + origin == PKG_FROM_CACHE, use pkg->origin_data.db + origin == PKG_FROM_FILE, use pkg->origin_data.file */ - union { + union { pmdb_t *db; char *file; } origin_data; |