Improve the variable types in raccess_make_file_name().

int-not32-changes
suzuki toshiya 16 years ago
parent ab888c9c87
commit 4b431ddca8
  1. 10
      ChangeLog
  2. 4
      src/base/ftrfork.c

@ -1,3 +1,13 @@
2009-07-03 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
Improve the variable types in raccess_make_file_name().
* src/base/ftrfork.c (raccess_make_file_name):
Change the type of cursor variable `tmp' to const char*,
to prevent the unexpected modification of original pathname.
(raccess_make_file_name): Change the type of new_length
to size_t.
2009-07-03 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
ftpatent.c: Fix for unused variable `error'.

@ -752,9 +752,9 @@
const char *insertion )
{
char* new_name;
char* tmp;
const char* tmp;
const char* slash;
unsigned new_length;
size_t new_length;
FT_Error error = FT_Err_Ok;
FT_UNUSED( error );

Loading…
Cancel
Save