Rajat Gogri wrote: > *const nsStyleColor* color = GetStyleColor(); > fprintf(out, " color=\"%ld\"",(long)color->mColor);* > ** > Is there any way to ocnvert this to HEX (RGB) value.
Use %lX instead of %ld. See also the man page for printf using |man 3 printf|, or search Google for a copy. Jeff _______________________________________________ dev-tech-layout mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-layout

