Skip to content

Commit

Permalink
Use int as return value (#2874)
Browse files Browse the repository at this point in the history
Co-authored-by: yangheran <[email protected]>
  • Loading branch information
feiniks and yangheran authored Jan 17, 2025
1 parent 8447741 commit 4d9fc62
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions common/fs-mgr.h
Original file line number Diff line number Diff line change
Expand Up @@ -175,9 +175,9 @@ seaf_fs_manager_init (SeafFSManager *mgr);
#ifndef SEAFILE_SERVER

struct _CheckoutBlockAux {
const char *repo_id;
const char *host;
const char *token;
char *repo_id;
char *host;
char *token;
gboolean use_fileserver_port;
void *task;
};
Expand Down
2 changes: 1 addition & 1 deletion daemon/repo-mgr.c
Original file line number Diff line number Diff line change
Expand Up @@ -4808,7 +4808,7 @@ struct _UpdateAux {
};
typedef struct _UpdateAux UpdateAux;

static size_t
static int
fill_block (void *contents, size_t realsize, void *userp)
{
UpdateAux *aux = userp;
Expand Down

0 comments on commit 4d9fc62

Please sign in to comment.