summaryrefslogtreecommitdiffstats
path: root/load-git.c
diff options
context:
space:
mode:
Diffstat (limited to 'load-git.c')
-rw-r--r--load-git.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/load-git.c b/load-git.c
index 932eb50a5..0610cd0d8 100644
--- a/load-git.c
+++ b/load-git.c
@@ -1427,7 +1427,7 @@ static int parse_site_entry(git_repository *repo, const git_tree_entry *entry, c
if (*suffix == '\0')
return report_error("Dive site without uuid");
struct dive_site *ds = alloc_dive_site();
- ds->uuid = strtol(suffix, NULL, 16);
+ ds->uuid = strtoul(suffix, NULL, 16);
git_blob *blob = git_tree_entry_blob(repo, entry);
if (!blob)
return report_error("Unable to read dive site file");