summaryrefslogtreecommitdiff
path: root/src/txt-converter/char-converter.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/txt-converter/char-converter.c')
-rw-r--r--src/txt-converter/char-converter.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/txt-converter/char-converter.c b/src/txt-converter/char-converter.c
index 44e48d224..a5943729a 100644
--- a/src/txt-converter/char-converter.c
+++ b/src/txt-converter/char-converter.c
@@ -107,7 +107,7 @@ int convert_init(void)
input = getchar();
if(input == 'y' || input == 'Y')
{
- struct storage storage_;
+ struct storage_data storage_;
ShowMessage("\n");
ShowStatus("Converting Storage Database...\n");
if( (fp = fopen(storage_txt,"r")) == NULL )
@@ -121,7 +121,7 @@ int convert_init(void)
lineno++;
set=sscanf(line,"%d,%d",&tmp_int[0],&tmp_int[1]);
if(set==2) {
- memset(&storage_, 0, sizeof(struct storage));
+ memset(&storage_, 0, sizeof(struct storage_data));
storage_.account_id=tmp_int[0];
if (storage_fromstr(line,&storage_) == 0) {
count++;