Commit Diff


commit - d7b62c98bea6955d39e6c792a38961da070c0da8
commit + a0eb853d32cc94d03606c9a395ba1d462ef02585
blob - b873e79cc3da19bd57a91eab724157a33e7ff7d7
blob + 238a09f448842b25d1bc93a4f00809127c47e8a7
--- got/got.c
+++ got/got.c
@@ -178,7 +178,7 @@ usage_checkout(void)
 }
 
 static void
-checkout_progress(void *arg, char status, const char *path)
+checkout_progress(void *arg, unsigned char status, const char *path)
 {
 	char *worktree_path = arg;
 
blob - 3d89816d3b79f1c29be0b67f8881627e9705a5c6
blob + 72da6f6f2dfc5a00ea5f8f8dab286e38bee5c81c
--- include/got_worktree.h
+++ include/got_worktree.h
@@ -49,7 +49,7 @@ char *got_worktree_get_repo_path(struct got_worktree *
 char  *got_worktree_get_head_ref_name(struct got_worktree *);
 
 /* A callback function which is invoked when a path is checked out. */
-typedef void (*got_worktree_checkout_cb)(void *, char, const char *);
+typedef void (*got_worktree_checkout_cb)(void *, unsigned char, const char *);
 
 /* A callback function which is invoked at cancellation points.
  * May return GOT_ERR_CANCELLED to abort the runing operation. */
blob - 61265ac973108c2b312070aa06ca414559e8f8da
blob + efd97251827bb8f11f54313775424e8f7a4f5bba
--- regress/worktree/worktree_test.c
+++ regress/worktree/worktree_test.c
@@ -305,7 +305,7 @@ done:
 }
 
 static void
-progress_cb(void *arg, char status, const char *path)
+progress_cb(void *arg, unsigned char status, const char *path)
 {
 }