projects
/
librfid
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
unsigned int -> size_t in some appropriate places.
[librfid]
/
src
/
rfid_proto_tcl.c
diff --git
a/src/rfid_proto_tcl.c
b/src/rfid_proto_tcl.c
index
af626c6
..
70259e6
100644
(file)
--- a/
src/rfid_proto_tcl.c
+++ b/
src/rfid_proto_tcl.c
@@
-781,6
+781,8
@@
tcl_getopt(struct rfid_protocol_handle *h, int optname, void *optval,
*optlen = sizeof(u_int8_t);
*opt_str = h->priv.tcl.ats_len & 0xff;
break;
+ default:
+ return -EINVAL;
}
return 0;