Skip to content

Commit

Permalink
emergency: fix write signature warning
Browse files Browse the repository at this point in the history
  • Loading branch information
razvancrainea committed Nov 11, 2015
1 parent 5519d76 commit 54657ba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/emergency/post_curl.c
Expand Up @@ -43,7 +43,8 @@ struct url_data {
char* data;
};

size_t write_data(void *ptr, size_t size, size_t nmemb, struct url_data *data) {
size_t write_data(char *ptr, size_t size, size_t nmemb, void *stream) {
struct url_data *data = (struct url_data *)stream;
size_t index = data->size;
size_t n = (size * nmemb);
char* tmp;
Expand Down

0 comments on commit 54657ba

Please sign in to comment.