(void *) with shmat

Поиск
Список
Период
Сортировка
От Ulrich Neumann
Тема (void *) with shmat
Дата
Msg-id a1eevs$1koe$2@news.tht.net
обсуждение исходный текст
Ответы Re: (void *) with shmat
Список pgsql-hackers
Hello together,


In ipc.c, function InternalIpcMemoryCreate there is the following line of code:
memAddress = shmat(shmid, 0, 0);

this line should be changed to:
memAddress = (void *) shmat(shmid, 0, 0);


at function IpcMemoryCreate there is the following line of code:
memAddress = shmat(shmid, 0, 0);

this line should be changed to:
memAddress = (void *) shmat(shmid, 0, 0);


This will avoid problems with MetroWerks CodeWarrior compiler.

Thanks

Ulrich Neumann



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Ulrich Neumann
Дата:
Сообщение: GETTIMEOFDAY_1ARG change
Следующее
От: mlw
Дата:
Сообщение: Re: (void *) with shmat