diff options
author | Linus Walleij <triad@df.lth.se> | 2011-03-05 22:28:41 +0100 |
---|---|---|
committer | Linus Walleij <triad@df.lth.se> | 2011-03-05 22:28:41 +0100 |
commit | 8a1992863bc2e0a7fdbd94b6b2042e58773ba773 (patch) | |
tree | d25ef6d795faa3238ec07d4241c84168b4b6ac90 /src/libmtp.c | |
parent | 71c7929e42bc2d717df24844aefbfbed7c1930ac (diff) | |
download | libmtp-8a1992863bc2e0a7fdbd94b6b2042e58773ba773.tar.gz |
More API changes
Diffstat (limited to 'src/libmtp.c')
-rw-r--r-- | src/libmtp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libmtp.c b/src/libmtp.c index 4876f2f..7f30025 100644 --- a/src/libmtp.c +++ b/src/libmtp.c @@ -4060,7 +4060,7 @@ LIBMTP_file_t *LIBMTP_Get_Filelisting_With_Callback(LIBMTP_mtpdevice_t *device, * @param parent the parent folder id. */ LIBMTP_file_t * LIBMTP_Get_Files_And_Folders(LIBMTP_mtpdevice_t *device, - LIBMTP_devicestorage_t const * const storage, + uint32_t const storage, uint32_t const parent) { PTPParams *params = (PTPParams *) device->params; @@ -4082,7 +4082,7 @@ LIBMTP_file_t * LIBMTP_Get_Files_And_Folders(LIBMTP_mtpdevice_t *device, if (storage == NULL) storageid = PTP_GOH_ALL_STORAGE; else - storageid = storage->id; + storageid = storage; ret = ptp_getobjecthandles(params, storageid, |