index 85dbd300d8d3b5ecdfd6225883c644688568ea22..f25a66eb36f72c6014e9b5355b5612b15b1a7aab 100644 (file)
@@ -98,7 +98,7 @@ const printTextFormat pg_asciiformat_old =
};
/* Default unicode linestyle format */
-const printTextFormat pg_utf8format;
+printTextFormat pg_utf8format;
typedef struct unicodeStyleRowFormat
{
void
refresh_utf8format(const printTableOpt *opt)
{
- printTextFormat *popt = (printTextFormat *) &pg_utf8format;
+ printTextFormat *popt = &pg_utf8format;
const unicodeStyleBorderFormat *border;
const unicodeStyleRowFormat *header;
index 005ba15e983aa0a93a38a93fc4479f09e8544e05..9033c4bce382345e6ecf1240c7ea877bb09fd0b2 100644 (file)
extern const printTextFormat pg_asciiformat;
extern const printTextFormat pg_asciiformat_old;
-extern const printTextFormat pg_utf8format;
+extern printTextFormat pg_utf8format; /* ideally would be const, but... */
extern void disable_sigpipe_trap(void);