did you try to cast the int's to (void*).
I don't think it is legal to assign (implicitly convert) any integer besides 0, so I would try to cast the 0x01.
So I would try something like (not compiled on my own):
const void* const data[] = { (const void*)0x01, "foo", (const void*)0x02, "bar" };
Or, depending on your needs, may not aply in your setup:
struct elem { int val, void* ptr};
const struct elem data[]= { {0x01, "foo"}, {0x02,"bar"}};
Daniel