timmerk / mfoc

Automatically exported from code.google.com/p/mfoc
GNU General Public License v2.0
1 stars 0 forks source link

In file included from nfc-utils.c:35:0: expected «const struct nfc_target *» but argument is of type «nfc_target» #3

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
diff --git a/src/nfc-utils.c b/src/nfc-utils.c
index deb51e7..0a34b0e 100644
--- a/src/nfc-utils.c
+++ b/src/nfc-utils.c
@@ -118,7 +118,7 @@ void
 print_nfc_target(const nfc_target nt, bool verbose)
 {
   char *s;
-  str_nfc_target(&s, nt, verbose);
+  str_nfc_target(&s, &nt, verbose);
   printf("%s", s);
   free(s);
 }

Original issue reported on code.google.com by alx...@gmail.com on 29 Mar 2013 at 3:26

GoogleCodeExporter commented 9 years ago
Thanks, this issue is now fixed (re5024608f39766348f9b06bf460e0ce2c7c83d92)

Original comment by romu...@libnfc.org on 4 Apr 2013 at 10:03