diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llwearable.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/linden/indra/newview/llwearable.cpp b/linden/indra/newview/llwearable.cpp index 9365eeb..6e8123a 100644 --- a/linden/indra/newview/llwearable.cpp +++ b/linden/indra/newview/llwearable.cpp | |||
@@ -185,7 +185,7 @@ const char* terse_F32_to_string( F32 f, char s[MAX_STRING] ) /* Flawfinder: ign | |||
185 | return r; | 185 | return r; |
186 | } | 186 | } |
187 | 187 | ||
188 | BOOL LLWearable::exportFile( FILE* file ) | 188 | BOOL LLWearable::exportFile( LLFILE* file ) |
189 | { | 189 | { |
190 | // header and version | 190 | // header and version |
191 | if( fprintf( file, "LLWearable version %d\n", mDefinitionVersion ) < 0 ) | 191 | if( fprintf( file, "LLWearable version %d\n", mDefinitionVersion ) < 0 ) |
@@ -266,7 +266,7 @@ BOOL LLWearable::exportFile( FILE* file ) | |||
266 | 266 | ||
267 | 267 | ||
268 | 268 | ||
269 | BOOL LLWearable::importFile( FILE* file ) | 269 | BOOL LLWearable::importFile( LLFILE* file ) |
270 | { | 270 | { |
271 | // *NOTE: changing the type or size of this buffer will require | 271 | // *NOTE: changing the type or size of this buffer will require |
272 | // changes in the fscanf() code below. You would be better off | 272 | // changes in the fscanf() code below. You would be better off |
@@ -852,7 +852,7 @@ void LLWearable::saveNewAsset() | |||
852 | mAssetID.toString(new_asset_id_string); | 852 | mAssetID.toString(new_asset_id_string); |
853 | char filename[LL_MAX_PATH]; /* Flawfinder: ignore */ | 853 | char filename[LL_MAX_PATH]; /* Flawfinder: ignore */ |
854 | snprintf(filename, LL_MAX_PATH, "%s.wbl", gDirUtilp->getExpandedFilename(LL_PATH_CACHE,new_asset_id_string).c_str()); /* Flawfinder: ignore */ | 854 | snprintf(filename, LL_MAX_PATH, "%s.wbl", gDirUtilp->getExpandedFilename(LL_PATH_CACHE,new_asset_id_string).c_str()); /* Flawfinder: ignore */ |
855 | FILE* fp = LLFile::fopen(filename, "wb"); /* Flawfinder: ignore */ | 855 | LLFILE* fp = LLFile::fopen(filename, "wb"); /* Flawfinder: ignore */ |
856 | BOOL successful_save = FALSE; | 856 | BOOL successful_save = FALSE; |
857 | if(fp && exportFile(fp)) | 857 | if(fp && exportFile(fp)) |
858 | { | 858 | { |