1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
# Copyright (C) 2008 by Miriam Ruiz <little_miry@yahoo.es>
# Distributed under the same license as the software. See debian/copyright
--- unicap.orig/src/unicap_helpers.c
+++ unicap/src/unicap_helpers.c
@@ -283,7 +283,7 @@
"range: min: %g\n"\
" max: %g\n"\
"stepping: %g\n"\
- "property data size: %d\n",
+ "property data size: %ld\n",
property->identifier,
property->category,
property->unit,
@@ -291,7 +291,7 @@
property->range.min,
property->range.max,
property->stepping,
- property->property_data_size );
+ (long int)property->property_data_size );
strncpy( buffer, tmp_buffer, *buffer_size );
|