changeset 20788:3a0ffbc3b7a7

changed ugly sizeof(*type_ptr) width sizeof(type)
author nicodvb
date Wed, 08 Nov 2006 23:18:56 +0000
parents 11731a2cbc11
children 3d52e73c5a79
files stream/stream_dvdnav.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/stream/stream_dvdnav.c	Wed Nov 08 23:08:41 2006 +0000
+++ b/stream/stream_dvdnav.c	Wed Nov 08 23:18:56 2006 +0000
@@ -63,7 +63,7 @@
   if (!filename)
     return NULL;
 
-  if (!(dvdnav_priv=calloc(1,sizeof(*dvdnav_priv))))
+  if (!(dvdnav_priv=calloc(1,sizeof(dvdnav_priv_t))))
     return NULL;
 
   if (!(dvdnav_priv->filename=strdup(filename))) {