Skip to content

Commit

Permalink
Qt4: fix sizeof mismatch
Browse files Browse the repository at this point in the history
  • Loading branch information
ivoire committed Jan 2, 2014
1 parent b1d4cd1 commit 225a216
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/gui/qt4/dialogs/vlm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ void VLMDialog::mediasPopulator()
int i_nMedias;
QString typeShortName;
int vlmItemCount;
vlm_media_t ***ppp_dsc = (vlm_media_t ***)malloc( sizeof( vlm_media_t ) );
vlm_media_t ***ppp_dsc = (vlm_media_t ***)malloc( sizeof( vlm_media_t** ) );

/* Get medias information and numbers */
vlm_Control( p_vlm, VLM_GET_MEDIAS, ppp_dsc, &i_nMedias );
Expand Down

0 comments on commit 225a216

Please sign in to comment.