mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-18 10:04:20 +03:00
0baf66a992
Fixing regression caused by 197b5e6dc7dd8ec161ebe43c97fd2ac8384b3433. So the 'TODO' part now finally know the answer - there is 'sparc64' architecture which imposes limitation to read 64b words only through 64b aligned address. Since we never could know how is the user going to use the returned pointer and the userusually expects it's aligned on the highest CPU required alignement, preserve it also for char*. Fixes: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=809685 Reported-by: Anatoly Pugachev <matorola@gmail.com>