Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1diff --git a/swtpm-utils/getcapability.c b/swtpm-utils/getcapability.c
2index 7359ba3..17b4324 100644
3--- a/swtpm-utils/getcapability.c
4+++ b/swtpm-utils/getcapability.c
5@@ -480,7 +480,8 @@ int main(int argc, char *argv[])
6 }
7
8 if (c) {
9- char pcrmap[4], *pf;
10+ char pcrmap[4];
11+ unsigned char *pf;
12
13 memcpy(pcrmap, ndp.pcrInfoRead.pcrSelection.pcrSelect,
14 ndp.pcrInfoRead.pcrSelection.sizeOfSelect);
15