[vlc-commits] Use correct type for vlc_atomic_dec
Rafaël Carré
git at videolan.org
Sun Jun 19 17:59:15 CEST 2011
vlc | branch: master | Rafaël Carré <rafael.carre at gmail.com> | Sun Jun 19 00:57:18 2011 -0400| [2364949ccfdca546b1b521367b43d9e4f503d1ba] | committer: Rafaël Carré
Use correct type for vlc_atomic_dec
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2364949ccfdca546b1b521367b43d9e4f503d1ba
---
src/libvlc.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/libvlc.c b/src/libvlc.c
index c53d6be..4aa27ff 100644
--- a/src/libvlc.c
+++ b/src/libvlc.c
@@ -145,7 +145,7 @@ void *vlc_hold (gc_object_t * p_gc)
*/
void vlc_release (gc_object_t *p_gc)
{
- unsigned refs;
+ uintptr_t refs;
assert( p_gc );
refs = vlc_atomic_dec (&p_gc->refs);
More information about the vlc-commits
mailing list