mirror of https://github.com/freetype/freetype
Improve the variable types in raccess_make_file_name().
This commit is contained in:
parent
61fa1b53c2
commit
2ed9d7fc75
10
ChangeLog
10
ChangeLog
|
@ -1,3 +1,13 @@
|
|||
2009-07-31 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-31 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…
Reference in New Issue