Skip to content

Commit 6184457

Browse files
committed
fix a compile warning for different enumeration types
1 parent 5ee068e commit 6184457

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/network.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,7 @@ bool network_compute_endpoints (sqlite3_context *context, network_data *data, co
507507
// store proper result code/message
508508
#ifndef SQLITE_WASM_EXTRA_INIT
509509
if (rc != CURLUE_OK) sqlite3_result_error(context, curl_url_strerror(rc), -1);
510-
sqlite3_result_error_code(context, (rc != CURLE_OK) ? SQLITE_ERROR : SQLITE_NOMEM);
510+
sqlite3_result_error_code(context, (rc != CURLUE_OK) ? SQLITE_ERROR : SQLITE_NOMEM);
511511
#else
512512
sqlite3_result_error(context, "URL parse error", -1);
513513
sqlite3_result_error_code(context, SQLITE_ERROR);

0 commit comments

Comments
 (0)