DEADSOFTWARE

fix non portable pointer conversion
authorDeaDDooMER <deaddoomer@deadsoftware.ru>
Sat, 21 Sep 2019 11:59:11 +0000 (14:59 +0300)
committerDeaDDooMER <deaddoomer@deadsoftware.ru>
Sat, 21 Sep 2019 11:59:11 +0000 (14:59 +0300)
src/lib/vorbis/vorbis.pas

index 81b026f7c348420a27b2fb08ee333deda42fd505..a2787be1a540abd3a6e8a02df71ff481d00af781 100644 (file)
@@ -439,7 +439,7 @@ begin
   num := length;
 
   bptr := @buf;
-  while ((LongWord(bptr) and $0f) <> 0) do Inc(bptr);
+  while ((PtrUInt(bptr) and $0f) <> 0) do Inc(bptr);
 
   while num > 0 do
   begin