Reverted change of sprintf %u to %lu since gcc defines uint32_t as unsigned int rather than long unsigned int like the pic. I will just add a note to the readme or demo projects for the PIC.

This commit is contained in:
skarg
2007-03-27 13:44:48 +00:00
parent c861d27cad
commit befc997533
11 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -251,7 +251,7 @@ char *Lighting_Output_Name(uint32_t object_instance)
static char text_string[32] = ""; /* okay for single thread */
if (object_instance < MAX_LIGHTING_OUTPUTS) {
sprintf(text_string, "LIGHTING OUTPUT %lu", object_instance);
sprintf(text_string, "LIGHTING OUTPUT %u", object_instance);
return text_string;
}