Fix T37488: Crash with --debug reading userpref.blend
authorSergey Sharybin <sergey.vfx@gmail.com>
Mon, 18 Nov 2013 12:13:23 +0000 (18:13 +0600)
committerSergey Sharybin <sergey.vfx@gmail.com>
Mon, 18 Nov 2013 12:13:23 +0000 (18:13 +0600)
commit53753c0ddc947aa74246492fb76466198a28db58
tree26d54a6b7489815d5baeaeba2e6f87fb3f8698d6
parent2b0162b6226df9dcb9b6819ce93f2d434afc69c4
Fix T37488: Crash with --debug reading userpref.blend

Issue was in fact caused by wrong DNA storage, which
apparently was considering unsigned long as just 4
bytes here.

Now use uint64_t to be sure timestamp does fit into
storage on all the platforms.

Thanks Campbell for help looking in the issue.
source/blender/blenkernel/BKE_main.h
source/blender/makesdna/DNA_fileglobal_types.h
source/gameengine/Ketsji/KX_PythonMain.h