Skip to content

Commit a4721cd

Browse files
fant1kuaAlik Aslanyan
authored andcommitted
Fix compile include error
1 parent 669f82f commit a4721cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripting/grip.inc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ native grip_destroy_json_value(GripJSONValue:json_value);
161161
*
162162
* @return Request options handle.
163163
*/
164-
native GripRequestOptions:grip_create_default_options(Float:timeout = -1);
164+
native GripRequestOptions:grip_create_default_options(Float:timeout = -1.0);
165165
166166
/**
167167
* Destroy this options
@@ -193,7 +193,7 @@ native grip_options_add_header(GripRequestOptions:options, const headerName[], c
193193
*
194194
* @return Request options handle.
195195
*/
196-
stock grip_create_create_options(const headers[][2][], const headers_count, Float:timeout = -1) {
196+
stock grip_create_create_options(const headers[][2][], const headers_count, Float:timeout = -1.0) {
197197
new GripRequestOptions:options = grip_create_default_options(timeout);
198198
199199
for(int i = 0; i < headers_count; ++i) {

0 commit comments

Comments
 (0)