docs: fix simple typo, paramters -> parameters (#589)
authorTim Gates <tim.gates@iress.com>
Sun, 11 Oct 2020 04:07:40 +0000 (15:07 +1100)
committerGitHub <noreply@github.com>
Sun, 11 Oct 2020 04:07:40 +0000 (00:07 -0400)
There is a small typo in src/x86/ffi.c.

Should read `parameters` rather than `paramters`.

src/x86/ffi.c

index 346e784e15de56478c850dd5ff0013685ddfcc0c..5903793d3b92eb13ea1a9963c5d0c2434e5e7b11 100644 (file)
@@ -353,7 +353,7 @@ ffi_call_int (ffi_cif *cif, void (*fn)(void), void *rvalue,
          size_t align = FFI_SIZEOF_ARG;
 
          /* Issue 434: For thiscall and fastcall, if the paramter passed
-            as 64-bit integer or struct, all following integer paramters
+            as 64-bit integer or struct, all following integer parameters
             will be passed on stack.  */
          if ((cabi == FFI_THISCALL || cabi == FFI_FASTCALL)
              && (t == FFI_TYPE_SINT64
@@ -492,7 +492,7 @@ ffi_closure_inner (struct closure_frame *frame, char *stack)
            align = 16;
 
          /* Issue 434: For thiscall and fastcall, if the paramter passed
-            as 64-bit integer or struct, all following integer paramters
+            as 64-bit integer or struct, all following integer parameters
             will be passed on stack.  */
          if ((cabi == FFI_THISCALL || cabi == FFI_FASTCALL)
              && (t == FFI_TYPE_SINT64