Changed a bunch of debug and information printfs so that they have a better chance of working on systems where int is smaller than 32 bits also fixed the signed/unsigned type of some to match the type of the arguments.

This commit is contained in:
petermcs
2010-01-26 21:30:38 +00:00
parent 0b76dd08c9
commit bfa8936bf5
25 changed files with 75 additions and 75 deletions
+4 -4
View File
@@ -55,14 +55,14 @@ static void PrintReadPropertyData(
if (data) {
#if 0
if (data->array_index == BACNET_ARRAY_ALL)
fprintf(stderr, "%s #%u %s\n",
fprintf(stderr, "%s #%lu %s\n",
bactext_object_type_name(data->object_type),
data->object_instance,
(unsigned long)data->object_instance,
bactext_property_name(data->object_property));
else
fprintf(stderr, "%s #%u %s[%d]\n",
fprintf(stderr, "%s #%lu %s[%d]\n",
bactext_object_type_name(data->object_type),
data->object_instance,
(unsigned long)data->object_instance,
bactext_property_name(data->object_property),
data->array_index);
#endif