diff options
author | Kenneth Venken <kenneth.venken@gmail.com> | 2010-10-15 18:15:35 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@novell.com> | 2010-10-15 18:15:35 +0100 |
commit | 394235bba1f7c474c9655f929f4fe27a550aba45 (patch) | |
tree | 266bd52b9f0b82dc5b21c4c7a9d829fb1ff87003 /crashrep | |
parent | 7d4ffef8b74cd9ac2959006bac8d5c582b313e61 (diff) |
SAL_N_ELEMENTS changes for components
Diffstat (limited to 'crashrep')
-rw-r--r-- | crashrep/source/win32/soreport.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crashrep/source/win32/soreport.cpp b/crashrep/source/win32/soreport.cpp index 4f1556e7a9fa..3251305a59b2 100644 --- a/crashrep/source/win32/soreport.cpp +++ b/crashrep/source/win32/soreport.cpp @@ -944,7 +944,7 @@ BOOL CALLBACK PreviewDialogProc( { int i; - count = fread( buf, sizeof(buf[0]), sizeof(buf)/sizeof(buf[0]), fp ); + count = fread( buf, sizeof(buf[0]), SAL_N_ELEMENTS(buf), fp ); for ( i = 0; i < count; i++ ) { |