Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/gmt_remote.c
Original file line number Diff line number Diff line change
Expand Up @@ -731,7 +731,7 @@ CURL * gmtremote_setup_curl (struct GMTAPI_CTRL *API, char *url, char *local_fil
return NULL;
}
if (time_out) { /* Set a timeout limit */
if (curl_easy_setopt (Curl, CURLOPT_TIMEOUT, time_out)) {
if (curl_easy_setopt (Curl, CURLOPT_TIMEOUT, (long)time_out)) {
GMT_Report (API, GMT_MSG_ERROR, "Failed to set curl option to time out after %d seconds\n", time_out);
return NULL;
}
Expand Down
2 changes: 1 addition & 1 deletion src/grdview.c
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ GMT_LOCAL void grdview_paint_gouraud_tile(struct GMT_CTRL *GMT, struct PSL_CTRL

/* Get color for each of 4 vertices */
for (k = 0; k < 4; k++) {
int index = gmt_get_rgb_from_z(GMT, P, Z_vert[k], &rgb_vert[k*3]);
gmt_get_rgb_from_z(GMT, P, Z_vert[k], &rgb_vert[k*3]);
if (k == 0)
PH = gmt_get_C_hidden(P);

Expand Down
Loading