Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
jberryman
GHC
Commits
8ec4842b
Commit
8ec4842b
authored
Jan 09, 2006
by
simonmar
Browse files
[project @ 2006-01-09 14:32:31 by simonmar]
Use correct format specifier for a size_t value
parent
65dc6fca
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/utils/prof/cgprof/matrix.c
View file @
8ec4842b
/* ------------------------------------------------------------------------
* $Id: matrix.c,v 1.
2
200
1
/0
7/24 06:01:21 ken
Exp $
* $Id: matrix.c,v 1.
3
200
6
/0
1/09 14:32:31 simonmar
Exp $
*
* Copyright (C) 1995-2000 University of Oxford
*
...
...
@@ -70,7 +70,7 @@ void *_Mat(Matrix *mat,int x, int y,int lineno, char *filename) {
/* Not in list */
ptr
=
(
Matrix_element
*
)
malloc
(
sizeof
(
Matrix_element
));
if
(
ptr
==
NULL
)
{
fprintf
(
stderr
,
"{_Mat} failed to allocate %d bytes
\n
"
,
fprintf
(
stderr
,
"{_Mat} failed to allocate %
z
d bytes
\n
"
,
sizeof
(
Matrix_element
));
exit
(
1
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment