projects
/
libam7xxx.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
debian/changelog: release Debian package 0.1.4-2
[libam7xxx.git]
/
src
/
am7xxx.c
diff --git
a/src/am7xxx.c
b/src/am7xxx.c
index
3e6b461
..
5b1e35a
100644
(file)
--- a/
src/am7xxx.c
+++ b/
src/am7xxx.c
@@
-667,7
+667,7
@@
typedef enum {
static int scan_devices(am7xxx_context *ctx, scan_op op,
unsigned int open_device_index, am7xxx_device **dev)
{
static int scan_devices(am7xxx_context *ctx, scan_op op,
unsigned int open_device_index, am7xxx_device **dev)
{
-
in
t num_devices;
+
ssize_
t num_devices;
libusb_device** list;
unsigned int current_index;
int i;
libusb_device** list;
unsigned int current_index;
int i;
@@
-790,7
+790,7
@@
out:
AM7XXX_PUBLIC int am7xxx_init(am7xxx_context **ctx)
{
AM7XXX_PUBLIC int am7xxx_init(am7xxx_context **ctx)
{
- int ret
= 0
;
+ int ret;
*ctx = malloc(sizeof(**ctx));
if (*ctx == NULL) {
*ctx = malloc(sizeof(**ctx));
if (*ctx == NULL) {