eyalroz / ssb-dbgen

Star Schema Benchmark data set generator (dbgen) - unified repository

Home Page:http://www.cs.umb.edu/~poneil/StarSchemaB.PDF

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fishy casting in dbg_print() from pointers to non-pointers

eyalroz opened this issue · comments

In the dbg_print() we cast void*s into longs and chars; that's not right... apparently, the macros PR_CHR(), PR_INT() and others cast those non-pointer values into a void*. Instead, let them pass the addresses of the values as void *. That would be the minimal possible change.