Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[root6] Fix call to memset in TpcAvgCurrent.C (#487)
``` StWarning: StDbSql::QueryDb(table,time) line=439 TpcAvgCurrent has No data for query LoadTable: .L /star-sw/StarDb/Calibrations/tpc/TpcAvgCurrent.C In file included from input_line_983:1: /star-sw/StarDb/Calibrations/tpc/TpcAvgCurrent.C:6:3: error: no matching function for call to 'memset' memset(row, 0, sizeof(TpcAvgCurrent_st)); ^~~~~~ /usr/include/string.h:62:14: note: candidate function not viable: no known conversion from 'TpcAvgCurrent_st' to 'void *' for 1st argument; take the address of the argument with & extern void *memset (void *__s, int __c, size_t __n) __THROW __nonnull ((1)); ^ root4star: .sl79_gcc485/OBJ/StRoot/St_db_Maker/St_db_Maker.cxx:932: virtual TDataSet* St_db_Maker::LoadTable(TDataSet*): Assertion `!ee' failed. Aborted ```
- Loading branch information