]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libbacktrace/allocfail.c
arc: add exceptions for PR92860.
[thirdparty/gcc.git] / libbacktrace / allocfail.c
index dff2968f5ca3de8f439485f62fb9aaad1c238cec..12a79e371adae7f31ffb9a3f69b8a3a1c7b4302f 100644 (file)
@@ -1,5 +1,5 @@
 /* allocfail.c -- Test for libbacktrace library
-   Copyright (C) 2018-2019 Free Software Foundation, Inc.
+   Copyright (C) 2018-2020 Free Software Foundation, Inc.
 
 Redistribution and use in source and binary forms, with or without
 modification, are permitted provided that the following conditions are
@@ -130,7 +130,7 @@ main (int argc, char **argv)
 #endif
 
   if (argc == 1)
-    fprintf (stderr, "%lu\n", get_nr_allocs ());
+    fprintf (stderr, "%llu\n", (long long unsigned) get_nr_allocs ());
 
   exit (failures ? EXIT_FAILURE : EXIT_SUCCESS);
 }