Commit Graph

5 Commits

Author SHA1 Message Date
Hans Ulrich Niedermann
a57b7d8f05 Revert "Fix -Wcalloc-transposed-args warnings"
This reverts commit f97c27efe9.
2024-01-31 23:18:45 +01:00
Hans Ulrich Niedermann
f97c27efe9 Fix -Wcalloc-transposed-args warnings
This switches the arguments of calloc() in a few cases such that
the sizeof() does not happen in the nmemb first argument.

An example warning would be
warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args]
2024-01-31 23:00:11 +01:00
Marcus Meissner
63c99943a0 handle "no camera" case
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@15100 67ed7778-7388-44ab-90cf-0a291f65f57c
2014-07-22 06:30:49 +00:00
Marcus Meissner
ca55fb156d fixed sample_open_camera to load the abilities and portinfolist
(was done by sample_autodetect before)


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14352 67ed7778-7388-44ab-90cf-0a291f65f57c
2013-04-25 07:39:18 +00:00
Marcus Meissner
7517274246 added
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@11376 67ed7778-7388-44ab-90cf-0a291f65f57c
2008-10-12 19:43:22 +00:00