Commits

Wez Furlong committed 0980b18

fix const compile warning

  • Participants
  • Parent commits 3b67584

Comments (0)

Files changed (2)

File src/AtomicParsley.h

 short APar_FindParentAtom(int order_in_tree, uint8_t this_atom_level);
 
 AtomicInfo* APar_FindAtomInTrack(uint8_t &total_tracks, uint8_t &track_num,
-  char* search_atom_str);
+  const char* search_atom_str);
 
 AtomicInfo* APar_FindAtom(const char* atom_name, bool createMissing,
   uint8_t atom_type, uint16_t atom_lang, bool match_full_uuids = false,

File src/parsley.cpp

 //                            Locating/Finding Atoms                                 //
 ///////////////////////////////////////////////////////////////////////////////////////
 
-AtomicInfo* APar_FindAtomInTrack(uint8_t &total_tracks, uint8_t &track_num, char* search_atom_str) {
+AtomicInfo* APar_FindAtomInTrack(uint8_t &total_tracks, uint8_t &track_num, const char* search_atom_str) {
 	uint8_t track_tally = 0;
 	short iter = 0;