[vlc-devel] commit: Fix Win64 patch for ebml (Jean-Baptiste Kempf )

git version control git at videolan.org
Wed Aug 19 00:52:01 CEST 2009


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Aug 19 00:51:47 2009 +0200| [94b82f94d88ab8f5cb27d3f77996351393e4bdcf] | committer: Jean-Baptiste Kempf 

Fix Win64 patch for ebml

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=94b82f94d88ab8f5cb27d3f77996351393e4bdcf
---

 extras/contrib/src/Patches/libebml-win64.patch |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/extras/contrib/src/Patches/libebml-win64.patch b/extras/contrib/src/Patches/libebml-win64.patch
index 214f322..5dc55e0 100644
--- a/extras/contrib/src/Patches/libebml-win64.patch
+++ b/extras/contrib/src/Patches/libebml-win64.patch
@@ -1,12 +1,12 @@
 diff -ruN libebml/ebml/EbmlCrc32.h libebml.new/ebml/EbmlCrc32.h
---- libebml/ebml/EbmlCrc32.h   2005-05-06 13:43:38.000000000 +0200
-+++ libebml.new/ebml/EbmlCrc32.h       2009-08-18 11:58:45.000000000 +0200
+--- libebml/ebml/EbmlCrc32.h	2009-08-19 00:48:35.000000000 +0200
++++ libebml.new/ebml/EbmlCrc32.h	2009-08-19 00:49:35.000000000 +0200
 @@ -143,7 +143,7 @@
-
+ 
  inline bool IsAlignedOn(const void *p, unsigned int alignment)
  {
--      return IsPowerOf2(alignment) ? ModPowerOf2((unsigned long)p, alignment) == 0 : (unsigned long)p % alignment == 0;
-+      return IsPowerOf2(alignment) ? ModPowerOf2((uintptr_t)p, alignment) == 0 : (uintptr_t)p % alignment == 0;
+-	return IsPowerOf2(alignment) ? ModPowerOf2((unsigned long)p, alignment) == 0 : (unsigned long)p % alignment == 0;
++	return IsPowerOf2(alignment) ? ModPowerOf2((uintptr_t)p, alignment) == 0 : (uintptr_t)p % alignment == 0;
  }
-
+ 
  template <class T>




More information about the vlc-devel mailing list