diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2015-08-20 00:54:49 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2015-08-20 00:54:49 +0300 |
commit | c11222e31a04dd9cb511d89f777da9871bf0b663 (patch) | |
tree | e73bb1f3b5ec894a87abd1e0ff9ff3f0a9604629 /source/blender/editors/space_file/filelist.c | |
parent | f69e9681fa32f6f9baafd2aa4a70427864ce6bb5 (diff) |
Fix 32bit builds... :/
Diffstat (limited to 'source/blender/editors/space_file/filelist.c')
-rw-r--r-- | source/blender/editors/space_file/filelist.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_file/filelist.c b/source/blender/editors/space_file/filelist.c index 02b31b494c2..1eb2a57b364 100644 --- a/source/blender/editors/space_file/filelist.c +++ b/source/blender/editors/space_file/filelist.c @@ -2462,12 +2462,12 @@ static void filelist_readjob_do( BLI_join_dirfile(dir, sizeof(dir), subdir, entry->relpath); BLI_cleanup_file(root, dir); - /* Generate our entry uuid. Abusing uuid as an uint64, shall be more than enough here, + /* Generate our entry uuid. Abusing uuid as an uint32, shall be more than enough here, * things would crash way before we overflow that counter! * Using an atomic operation to avoid having to lock thread... * Note that we do not really need this here currently, since there is a single listing thread, but better * remain consistent about threading! */ - *((uint64_t *)entry->uuid) = atomic_add_uint64((uint64_t *)filelist->filelist_intern.curr_uuid, 1); + *((uint32_t *)entry->uuid) = atomic_add_uint32((uint32_t *)filelist->filelist_intern.curr_uuid, 1); BLI_path_rel(dir, root); /* Only thing we change in direntry here, so we need to free it first. */ |