]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
pr65595.c: Change type of "num" argument to memcpy from "unsigned long" to __SIZE_TYPE__.
authorJozef Lawrynowicz <jozef.l@mittosystems.com>
Wed, 7 Nov 2018 22:26:16 +0000 (22:26 +0000)
committerJozef Lawrynowicz <jozefl@gcc.gnu.org>
Wed, 7 Nov 2018 22:26:16 +0000 (22:26 +0000)
2018-11-07  Jozef Lawrynowicz  <jozef.l@mittosystems.com>

* gcc.c-torture/compile/pr65595.c: Change type of "num" argument to
memcpy from "unsigned long" to __SIZE_TYPE__.

From-SVN: r265895

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr65595.c

index 51f1b6085f886db8f13be3d5be2ceb856e98da2e..56856612d04300d1d4f2c5d441f9611b0f3a56db 100644 (file)
@@ -1,3 +1,8 @@
+2018-11-07  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
+
+       * gcc.c-torture/compile/pr65595.c: Change type of "num" argument to
+       memcpy from "unsigned long" to __SIZE_TYPE__.
+
 2018-11-07  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
 
        PR c/87691
index 0ab716120c9e37736a6d40e6b9f7f9dcad7b77e0..b6a0aa4002a0634ab204da6040726b949faa25fb 100644 (file)
@@ -1,4 +1,4 @@
-extern void *memcpy(void *, const void *, unsigned long);
+extern void *memcpy(void *, const void *, __SIZE_TYPE__);
 struct in6_addr {
   struct {
     int u6_addr32[4];