mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-04-06 18:30:21 +08:00
output: outobj -- Fix typo in obj_init
In 51b453b0970a1d66c3f6533ed940cb9838ba2b18 occasionally used wrong operand for sizeof. Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
parent
51b453b097
commit
fb9e00a1c3
@ -640,7 +640,7 @@ static enum directive_result obj_directive(enum directive, char *, int);
|
||||
|
||||
static void obj_init(void)
|
||||
{
|
||||
strlcpy(obj_infile, inname, sizeof(inname));
|
||||
strlcpy(obj_infile, inname, sizeof(obj_infile));
|
||||
first_seg = seg_alloc();
|
||||
any_segs = false;
|
||||
fpubhead = NULL;
|
||||
|
Loading…
x
Reference in New Issue
Block a user