Skip to content

Commit 3501107

Browse files
authored
Update gmt_defaults.h (#8767)
* Update gmt_defaults.h It is better to be consistent with `gmt/src /gmt_constants.h`: https://github.com/GenericMappingTools/gmt/blob/2be2ac8e2a6e420aaa87f772f69333f4f1c4a284/src/gmt_constants.h#L484-L486 It may cause some problems of typecasting in some systems, while running https://github.com/GenericMappingTools/gmt/blob/2be2ac8e2a6e420aaa87f772f69333f4f1c4a284/src/gmt_init.c#L7066 * Update gmt_defaults.h
1 parent ac915ba commit 3501107

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gmt_defaults.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ struct GMT_DEFAULTS {
9595
size_t url_size_limit;
9696
unsigned int refresh_time; /* Only refresh server catalog when the local copy is this old in days) */
9797
unsigned int compatibility; /* Choose between 4 (GMT4) and up to latest version (5 for now) */
98-
unsigned int auto_download; /* 0 (GMT_NO_DOWNLOAD) or 1 (GMT_YES_DOWNLOAD): For auto-download of known files */
98+
enum GMT_enum_download auto_download; /* 0 (GMT_NO_DOWNLOAD) or 1 (GMT_YES_DOWNLOAD): For auto-download of known files */
9999
unsigned int interpolant; /* Choose between 0 (Linear), 1 (Akima), or 2 (Cubic spline) */
100100
unsigned int triangulate; /* 0 for Watson [Default], 1 for Shewchuk (if configured) */
101101
unsigned int verbose; /* Level of verbosity 0-4 [1] */

0 commit comments

Comments
 (0)