Mercurial > mplayer.hg
diff m_struct.h @ 19194:5949a654e2d4
marks some read-only char* inside structs as const, patch by Stefan Huehner, stefan At huehner-org
author | reynaldo |
---|---|
date | Thu, 27 Jul 2006 17:35:06 +0000 |
parents | 2ec2301183cd |
children | 0b262e00bc99 |
line wrap: on
line diff
--- a/m_struct.h Thu Jul 27 10:52:40 2006 +0000 +++ b/m_struct.h Thu Jul 27 17:35:06 2006 +0000 @@ -13,7 +13,7 @@ /// Struct definition typedef struct m_struct_st { /// For error messages and debugging - char* name; + const char* name; /// size of the whole struct unsigned int size; /// Pointer to a struct filled with the default settings