Skip to content

Commit 971489e

Browse files
committed
compile warnings
1 parent e937240 commit 971489e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libhelix-aac/sbr.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ int InitSBR(AACDecInfo *aacDecInfo)
106106
/* allocate SBR state structure */
107107
psi = (PSInfoSBR *)malloc(sizeof(PSInfoSBR));
108108
if (!psi) {
109-
printf("OOM in SBR, can't allocate %d bytes\n", sizeof(PSInfoSBR));
109+
printf("OOM in SBR, can't allocate %d bytes\n", (int)sizeof(PSInfoSBR));
110110
return ERR_AAC_SBR_INIT;
111111
}
112112
InitSBRState(psi);
@@ -126,7 +126,7 @@ int InitSBRPre(AACDecInfo *aacDecInfo, void **ptr, int *sz)
126126
psi = (PSInfoSBR *)*ptr;
127127
*sz -= sizeof(PSInfoSBR);
128128
if (*sz < 0) {
129-
printf("OOM in SBR, can't allocate %d bytes\n", sizeof(PSInfoSBR));
129+
printf("OOM in SBR, can't allocate %d bytes\n", (int)sizeof(PSInfoSBR));
130130
return ERR_AAC_SBR_INIT;
131131
}
132132
InitSBRState(psi);

0 commit comments

Comments
 (0)