Code:
#include <iostream>
using namespace std;
int main()
{
	int * pointer = 0x100579C; //ERROR ZONE
	*pointer = 1;
	delete pointer;
	system("PAUSE");
	return 0;
}
It's supposed to change the value at 0x100579C. I don't see anything wrong with it. But when I run the code, the compiler produces an error.

invalid conversion from `int' to `int*'
How would you fix this? Thanks!