don't use sizeof(pointer), it is not useful :-)

This commit is contained in:
Stefan Seyfried
2013-05-28 14:27:51 +02:00
parent c4d700b463
commit a7dfc9757a
2 changed files with 4 additions and 4 deletions

View File

@@ -226,7 +226,7 @@ bool CNeutrinoAPI::GetStreamInfo(int bitInfo[10])
long value;
int pos = 0;
memset(bitInfo, 0, sizeof(bitInfo));
memset(bitInfo, 0, sizeof(int[10]));
FILE *fd = fopen("/proc/bus/bitstream", "rt");