~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/lex_string.h

  • Committer: Brian Aker
  • Date: 2009-12-05 23:13:49 UTC
  • mto: (1192.3.69 pandora-build)
  • mto: This revision was merged to the branch mainline in revision 1239.
  • Revision ID: brian@gaz-20091205231349-60h2detqezl6qn3w
ICC cleanup

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
} LEX_STRING;
35
35
 
36
36
 
37
 
#define STRING_WITH_LEN(X) (X), ((size_t) (sizeof(X) - 1))
38
 
#define C_STRING_WITH_LEN(X) ((char *) (X)), ((size_t) (sizeof(X) - 1))
 
37
#define STRING_WITH_LEN(X) (X), (static_cast<size_t>((sizeof(X) - 1)))
 
38
#define C_STRING_WITH_LEN(X) (const_cast<char *>((X))), (static_cast<size_t>((sizeof(X) - 1)))
39
39
 
40
40
 
41
41
#endif /* DRIZZLED_LEX_STRING_H */