aboutsummaryrefslogtreecommitdiff
path: root/lpg/libqr/qrparse.c
diff options
context:
space:
mode:
Diffstat (limited to 'lpg/libqr/qrparse.c')
-rw-r--r--lpg/libqr/qrparse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lpg/libqr/qrparse.c b/lpg/libqr/qrparse.c
index 013066b..1b5c80e 100644
--- a/lpg/libqr/qrparse.c
+++ b/lpg/libqr/qrparse.c
@@ -49,7 +49,7 @@ int main(int argc, char ** argv)
case QR_DATA_FNC1: type_str = "FNC1"; break;
default: type_str = "(unknown)"; break;
}
- fprintf(stderr, "Data type: %s; %lu bytes\nContent: %s\n", type_str, data_len, data_str);
+ fprintf(stderr, "Data type: %s; %lu bytes\nContent: %s\n", type_str, (unsigned long) data_len, data_str);
free(data_str);
qr_data_destroy(data);
}