On Thu, 19 Aug 2010, Carl Denk wrote: > This works: > > printf ((rom unsigned int*)"integer output: %2u\0" ,month); If your goal is to suppress the "type qualifier mismatch" warning, the correct cast is (const rom far char *). However, it doesn't really matter nor does it affect whether your printf "works" or not. I'm not sure why you have a \0 at the end of your format string, but it probably doesn't do what you think it does. > And this doesn't work, a first step is outputting, 2 variables, assuming > once I got that, rest will follow pattern. > printf ((rom unsigned int*)"integer output: %2u %2u\0" ,month, day); You haven't said what "doesn't work" means. You've declared month and day as signed and are using an unsigned conversion specifier, but that shouldn't make them "not work." > Was considering rebuilding the library as "FAR" , The library is already built as "far". -- John W. Temples, III --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .