Advertisement
Guest User

Untitled

a guest
Jan 25th, 2020
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.05 KB | None | 0 0
  1. sprintf(tbuf,
  2. "%s%s| %sZ:%s %9.0f %s%sShield Efficiency:%s %3.2f\% %s%s|%s",
  3. ANSI_HILITE, ANSI_BLUE, ANSI_GREEN, ANSI_NORMAL,
  4. GetZ(), " ", ANSI_HILITE, ANSI_GREEN, ANSI_NORMAL,
  5. GetShieldaff(), ANSI_HILITE, ANSI_BLUE);
  6.  
  7.  
  8. hscelestial.cpp:227:57: warning: format ‘%f’ expects argument of type ‘double’, but argument 11 has type ‘const char*’ [-Wformat=]
  9. GetShieldaff(), ANSI_HILITE, ANSI_BLUE, ANSI_NORMAL);
  10. ^
  11. hscelestial.cpp:227:57: warning: repeated ' ' flag in format [-Wformat=]
  12. hscelestial.cpp:227:57: warning: repeated ' ' flag in format [-Wformat=]
  13. hscelestial.cpp:227:57: warning: repeated ' ' flag in format [-Wformat=]
  14. hscelestial.cpp:227:57: warning: conversion lacks type at end of format [-Wformat=]
  15. hscelestial.cpp:227:57: warning: format ‘%s’ expects argument of type ‘char*’, but argument 12 has type ‘double’ [-Wformat=]
  16. hscelestial.cpp:227:57: warning: too many arguments for format [-Wformat-extra-args]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement