Skip to content

Commit 13554f2

Browse files
committed
Fixed a compiling error in windows. Updated the .gitignore file to include some new windows specific excludes.
1 parent 5815785 commit 13554f2

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,5 @@ Makefile.in
2323
*.l[ao]
2424
*~
2525
!/sample/Makefile
26+
/win32/output
27+
/win32/ds3.zip

src/ds3.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ static ds3_error* _net_process_request(const ds3_client* client, const ds3_reque
437437
error->error->status_code = response_data.status_code;
438438
error->error->status_message = g_strdup(response_data.status_message);
439439
error->error->status_message_size = strlen(error->error->status_message);
440-
error->error->error_body = g_strdup(response_data.body->data);
440+
error->error->error_body = g_strdup((char*)response_data.body->data);
441441
error->error->error_body_size = response_data.body->len;
442442

443443
g_byte_array_free(response_data.body, TRUE);

0 commit comments

Comments
 (0)