~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/my_filename.cc

  • Committer: Monty Taylor
  • Date: 2009-05-09 22:13:47 UTC
  • mto: This revision was merged to the branch mainline in revision 1009.
  • Revision ID: mordred@inaugust.com-20090509221347-l712szviusbobro0
Re-added bitset<> as a replacement for Bitmap<>

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
   along with this program; if not, write to the Free Software
14
14
   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */
15
15
 
16
 
#include "mysys_priv.h"
 
16
#include "mysys/mysys_priv.h"
17
17
 
18
18
/*
19
19
  Get filename of file
25
25
 
26
26
char * my_filename(File fd)
27
27
{
28
 
  if ((uint) fd >= (uint) my_file_limit)
 
28
  if ((uint32_t) fd >= (uint32_t) my_file_limit)
29
29
    return((char*) "UNKNOWN");
30
30
  if (fd >= 0 && my_file_info[fd].type != UNOPEN)
31
31
  {