modified some source code to make sure that it can complie successfule in suse11.0 with gcc4.3.1 complier