fix for #81
Merge pull request #161 from rmcgibbo/32bitdtype

fix for #81