Changed sprintf from %u or %d to %lu to fix problem in PIC ports.

This commit is contained in:
skarg
2007-03-27 11:20:39 +00:00
parent 6f04232d32
commit b68f1a0f8e
11 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -114,7 +114,7 @@ char *Binary_Input_Name(uint32_t object_instance)
Binary_Input_Init();
if (object_instance < MAX_BINARY_INPUTS) {
sprintf(text_string, "BINARY INPUT %u", object_instance);
sprintf(text_string, "BINARY INPUT %lu", object_instance);
return text_string;
}