Advertisement
Guest User

mozilla.patch

a guest
Feb 4th, 2012
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.61 KB | None | 0 0
  1. Index: vlc/projects/mozilla/vlcshell.cpp
  2. ===================================================================
  3. --- vlc.orig/projects/mozilla/vlcshell.cpp      2011-11-15 14:51:04.298445000 -0500
  4. +++ vlc/projects/mozilla/vlcshell.cpp   2011-11-15 17:52:44.416707114 -0500
  5. @@ -71,7 +71,7 @@
  6.  /******************************************************************************
  7.   * UNIX-only API calls
  8.   *****************************************************************************/
  9. -char * NPP_GetMIMEDescription( void )
  10. +const char * NPP_GetMIMEDescription( void )
  11.  {
  12.      static char mimetype[] = PLUGIN_MIMETYPES;
  13.      return mimetype;
  14. Index: vlc/projects/mozilla/vlcshell.h
  15. ===================================================================
  16. --- vlc.orig/projects/mozilla/vlcshell.h        2011-11-15 14:51:04.298445000 -0500
  17. +++ vlc/projects/mozilla/vlcshell.h     2011-11-15 17:53:08.736706029 -0500
  18. @@ -24,7 +24,7 @@
  19.  #ifndef __VLCSHELL_H__
  20.  #define __VLCSHELL_H__
  21.  
  22. -char * NPP_GetMIMEDescription( void );
  23. +const char * NPP_GetMIMEDescription( void );
  24.  
  25.  NPError NPP_Initialize( void );
  26.  
  27. Index: vlc/projects/mozilla/support/npunix.cpp
  28. ===================================================================
  29. --- vlc.orig/projects/mozilla/support/npunix.cpp        2011-11-15 14:51:04.298445000 -0500
  30. +++ vlc/projects/mozilla/support/npunix.cpp     2011-11-15 18:06:53.972669237 -0500
  31. @@ -767,7 +767,7 @@
  32.   *  - Netscape uses the return value to identify when an object instance
  33.   *    of this plugin should be created.
  34.   */
  35. -char *
  36. +const char *
  37.  NP_GetMIMEDescription(void)
  38.  {
  39.      return NPP_GetMIMEDescription();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement