summaryrefslogtreecommitdiff
path: root/src/rfid_protocol.c
diff options
context:
space:
mode:
authorlaforge <laforge@e0336214-984f-0b4b-a45f-81c69e1f0ede>2008-01-26 20:21:59 +0000
committerlaforge <laforge@e0336214-984f-0b4b-a45f-81c69e1f0ede>2008-01-26 20:21:59 +0000
commitbe84ee238f448a5eab596b12efb86efc00f9e89d (patch)
treedc6be254302300e2b61579d0e0ce2274100ebbef /src/rfid_protocol.c
parent7cf71fab95056b3c812b21247a24bab74678980b (diff)
fix more compiler warnings, based on a patch by Rainer Keller
git-svn-id: https://svn.gnumonks.org/trunk/librfid@2052 e0336214-984f-0b4b-a45f-81c69e1f0ede
Diffstat (limited to 'src/rfid_protocol.c')
-rw-r--r--src/rfid_protocol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rfid_protocol.c b/src/rfid_protocol.c
index 0cd4f66..9d70e90 100644
--- a/src/rfid_protocol.c
+++ b/src/rfid_protocol.c
@@ -33,7 +33,7 @@ static const struct rfid_protocol *rfid_protocols[] = {
struct rfid_protocol_handle *
rfid_protocol_init(struct rfid_layer2_handle *l2h, unsigned int id)
{
- struct rfid_protocol *p;
+ const struct rfid_protocol *p;
struct rfid_protocol_handle *ph = NULL;
if (id >= ARRAY_SIZE(rfid_protocols))
personal git repositories of Harald Welte. Your mileage may vary