diff options
author | DeltaVonNeumann <deltavprogrammer@gmail.com> | 2023-06-17 10:29:39 +0100 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2023-06-17 10:29:39 +0100 |
commit | a16d5ff10b2225c7cf7b33ddfff1d947b0dbe40a (patch) | |
tree | f741f98765b955eb0ac893991dd83cf91616f210 /content/fetchers | |
parent | 21e636a3a6056c23bbd4257f50315532fe010aa5 (diff) | |
download | netsurf-a16d5ff10b2225c7cf7b33ddfff1d947b0dbe40a.tar.gz netsurf-a16d5ff10b2225c7cf7b33ddfff1d947b0dbe40a.tar.bz2 |
Avoid integer types with platform dependent size
Diffstat (limited to 'content/fetchers')
-rw-r--r-- | content/fetchers/file/dirlist.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/content/fetchers/file/dirlist.c b/content/fetchers/file/dirlist.c index d49dc7fe7..345dbd8f3 100644 --- a/content/fetchers/file/dirlist.c +++ b/content/fetchers/file/dirlist.c @@ -29,6 +29,7 @@ #include "utils/messages.h" #include "utils/nscolour.h" +#include "netsurf/inttypes.h" #include "netsurf/types.h" #include "netsurf/plot_style.h" @@ -158,7 +159,7 @@ bool dirlist_generate_title(const char *title, char *buffer, int buffer_length) "<title>%s</title>\n" "<style>\n" "html {\n" - "\tbackground-color: #%06x;\n" + "\tbackground-color: #%06"PRIx32";\n" "}\n" "%s" "</style>\n" |