core: Use OSTREE_SHA256_STRING_LEN instead of 64
Closes: #359 Approved by: cgwalters
This commit is contained in:
1 parent
91ccaff197
commit
4cb77c51db
14 files changed
+39
-27
No files matched your search
@@ -2445,7 +2445,7 @@ list_loose_objects_at (OstreeRepo *self,
|
||||
const char *name = dent->d_name;
|
||||
const char *dot;
|
||||
OstreeObjectType objtype;
|
||||
char buf[65];
|
||||
char buf[OSTREE_SHA256_STRING_LEN+1];
|
||||
|
||||
if (strcmp (name, ".") == 0 ||
|
||||
strcmp (name, "..") == 0)
|
||||
|
||||
Reference in new issue
Block a user