This commit is contained in:
TheBrokenRail 2024-01-06 05:42:59 -05:00
parent c7af1c95d2
commit 52ff417367
1 changed files with 1 additions and 1 deletions

View File

@ -170,7 +170,7 @@ export class VTable implements Property {
declarations += `${INDENT}if (obj == NULL) {\n`;
declarations += `${INDENT}${INDENT}return NULL;\n`;
declarations += `${INDENT}}\n`;
declarations += `${INDENT}memcpy((void *) obj, (void *) vtable, sizeof (${this.#getName()});\n`;
declarations += `${INDENT}memcpy((void *) obj, (void *) vtable, sizeof (${this.#getName()}));\n`;
declarations += `${INDENT}return obj;\n`;
declarations += '}\n';
}