mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-16 01:02:36 +03:00
Fix warnings
This commit is contained in:
parent
1d07bd0657
commit
c62f967935
@ -19,6 +19,7 @@
|
|||||||
|
|
||||||
struct hlcache_object;
|
struct hlcache_object;
|
||||||
struct selection;
|
struct selection;
|
||||||
|
struct gui_window_2;
|
||||||
|
|
||||||
struct FileRequester *filereq;
|
struct FileRequester *filereq;
|
||||||
struct FileRequester *savereq;
|
struct FileRequester *savereq;
|
||||||
|
@ -63,11 +63,12 @@
|
|||||||
#include "desktop/searchweb.h"
|
#include "desktop/searchweb.h"
|
||||||
#include "desktop/gui_window.h"
|
#include "desktop/gui_window.h"
|
||||||
|
|
||||||
#include "amiga/object.h"
|
#include "amiga/file.h"
|
||||||
#include "amiga/font.h"
|
#include "amiga/font.h"
|
||||||
#include "amiga/gui.h"
|
#include "amiga/gui.h"
|
||||||
#include "amiga/gui_options.h"
|
#include "amiga/gui_options.h"
|
||||||
#include "amiga/help.h"
|
#include "amiga/help.h"
|
||||||
|
#include "amiga/object.h"
|
||||||
#include "amiga/theme.h"
|
#include "amiga/theme.h"
|
||||||
#include "amiga/utf8.h"
|
#include "amiga/utf8.h"
|
||||||
|
|
||||||
@ -1768,7 +1769,7 @@ static void ami_gui_opts_use(bool save)
|
|||||||
|
|
||||||
GetAttr(GETFILE_Drawer,gow->objects[GID_OPTS_DLDIR],(ULONG *)&data);
|
GetAttr(GETFILE_Drawer,gow->objects[GID_OPTS_DLDIR],(ULONG *)&data);
|
||||||
if((nsoption_charp(download_dir) == NULL) ||
|
if((nsoption_charp(download_dir) == NULL) ||
|
||||||
(strcmp(data, nsoption_charp(download_dir)) != 0)) {
|
(strcmp((char *)data, nsoption_charp(download_dir)) != 0)) {
|
||||||
nsoption_set_charp(download_dir, (char *)strdup((char *)data));
|
nsoption_set_charp(download_dir, (char *)strdup((char *)data));
|
||||||
ami_file_req_free();
|
ami_file_req_free();
|
||||||
ami_file_req_init();
|
ami_file_req_init();
|
||||||
|
Loading…
Reference in New Issue
Block a user