Ignore:
Timestamp:
May 4, 2009, 2:04:42 AM (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
adada0d
Parents:
9c2eaca
Message:

2009-05-03 Joel Sherrill <joel.sherrill@…>

  • ndstool/include/banner.h, ndstool/include/header.h, ndstool/include/ndstree.h, ndstool/source/banner.cpp, ndstool/source/header.cpp, ndstool/source/ndscreate.cpp, ndstool/source/ndstool.cpp, ndstool/source/passme.cpp: Remove warnings for deprecated character conversions.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/arm/nds/tools/ndstool/include/ndstree.h

    r9c2eaca r9a12c7e5  
    1 inline int cmp(char *a, bool a_isdir, char *b, bool b_isdir)
     1inline int cmp(const char *a, bool a_isdir, const char *b, bool b_isdir)
    22{
    33        // oh... directory sort doesn't matter since we write out dir- and filenames seperately
     
    1010{
    1111        unsigned int dir_id;            // directory ID in case of directory entry
    12         char *name;                                     // file or directory name
     12        const char *name;               // file or directory name
    1313        TreeNode *directory;            // nonzero indicates directory. first directory node is a dummy
    1414        TreeNode *prev, *next;          // linked list
     
    2323       
    2424        // new entry in same directory
    25         TreeNode *New(char *name, bool isdir)
     25        TreeNode *New(const char *name, bool isdir)
    2626        {
    2727                TreeNode *newNode = new TreeNode();
Note: See TracChangeset for help on using the changeset viewer.