Commit 81780bcb authored by Claes Sjofors's avatar Claes Sjofors

Convert, added UL to mask declarations in struct files

parent 8a558e96
...@@ -794,14 +794,14 @@ int CnvWblToH::bit_exec() ...@@ -794,14 +794,14 @@ int CnvWblToH::bit_exec()
" pwr_m" << ctx->rw->typedef_pgmname << "_" << pgmname; " pwr_m" << ctx->rw->typedef_pgmname << "_" << pgmname;
for ( i = 0; i < int(30 - strlen(ctx->rw->typedef_pgmname) - strlen(pgmname)); i++) for ( i = 0; i < int(30 - strlen(ctx->rw->typedef_pgmname) - strlen(pgmname)); i++)
fp_struct << ' '; fp_struct << ' ';
fp_struct << " = " << ctx->rw->bit_value << "," << endl; fp_struct << " = " << ctx->rw->bit_value << "UL," << endl;
} }
else if ( strcmp( ctx->rw->bit_type, "Value") == 0) { else if ( strcmp( ctx->rw->bit_type, "Value") == 0) {
fp_struct << fp_struct <<
" pwr_e" << ctx->rw->typedef_pgmname << "_" << pgmname; " pwr_e" << ctx->rw->typedef_pgmname << "_" << pgmname;
for ( i = 0; i < int(30 - strlen(ctx->rw->typedef_pgmname) - strlen(pgmname)); i++) for ( i = 0; i < int(30 - strlen(ctx->rw->typedef_pgmname) - strlen(pgmname)); i++)
fp_struct << ' '; fp_struct << ' ';
fp_struct << " = " << ctx->rw->bit_value << "," << endl; fp_struct << " = " << ctx->rw->bit_value << "UL," << endl;
} }
return 1; return 1;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment