Login
User Name:

Password:



Register
Forgot your password?
Vote for Us!
tintin++ ogg sound player script for linux
Author: Robert Smith
Submitted by: Vladaar
6Dragons ogg Soundpack
Author: Vladaar
Submitted by: Vladaar
6Dragons 4.4
Author: Vladaar
Submitted by: Vladaar
LoP 1.46
Author: Remcon
Submitted by: Remcon
LOP 1.45
Author: Remcon
Submitted by: Remcon
Users Online
CommonCrawl, DotBot, Yandex, Bing

Members: 0
Guests: 5
Stats
Files
Topics
Posts
Members
Newest Member
481
3,735
19,370
618
Micheal64X
Today's Birthdays
There are no member birthdays today.
Related Links
» SmaugMuds.org » General » Smaug Snippets » Hotboot descripts
Forum Rules | Mark all | Recent Posts

Hotboot descripts
< Newer Topic :: Older Topic >

Pages:<< prev 1 next >>
Post is unread #1 Jul 12, 2002, 8:31 am
Go to the top of the page
Go to the bottom of the page

Guest - (Unregistered)

Any ideas on how to get rid of these? I have read the forum about other hotboot problems already. I think they might be caused because I utilize only control instead of control2, java, and all that jazz.

hotboot.c: In function `do_hotboot':
hotboot.c:587: warning: passing arg 1 of `write_to_descriptor' makes pointer
from integer without a cast
hotboot.c:600: warning: passing arg 1 of `write_to_descriptor' makes pointer
from integer without a cast
hotboot.c:621: warning: passing arg 1 of `write_to_descriptor' makes pointer
from integer without a cast
hotboot.c: In function `hotboot_recover':
hotboot.c:720: warning: passing arg 1 of `write_to_descriptor' makes pointer
from integer without a cast
hotboot.c:761: warning: passing arg 1 of `write_to_descriptor' makes pointer
from integer without a cast
hotboot.c:770: warning: passing arg 1 of `write_to_descriptor' makes pointer
from integer without a cast
hotboot.c:688: warning: `maxp' might be used uninitialized in this function

Thanks,

Vladaar
       
Post is unread #2 Jul 12, 2002, 1:35 pm
Go to the top of the page
Go to the bottom of the page

Guest - (Unregistered)

Any ideas on how to get rid of these? I have read the forum about other hotboot problems already. I think they might be caused because I utilize only control instead of control2, java, and all that jazz.

hotboot.c: In function `do_hotboot':
hotboot.c:587: warning: passing arg 1 of `write_to_descriptor' makes pointer
from integer without a cast

Hrm..

This looks like you are passing the actualy descriptor number (an integer) into write_to_descriptor() rather than passing a DESCRIPTOR_DATA* variable.

This is a quick guess as I'm half asleep here atm, but you are talking about control, control2 etc.. which are plain integers indicating the descriptor's that are those connections. These can't be passed into write_to_descriptor() without being wrapped into a descriptor_data struct first (which makes it wierd as descriptor_data contains all this buffering stuff as well..

Not having read any code this is a plain guess, but are you using control directly with write_to_descriptor?

*falls asleep on his keyboard*
       
Post is unread #3 Jul 23, 2002, 3:06 pm
Go to the top of the page
Go to the bottom of the page

Samson
Black Hand
GroupAdministrators
Posts3,643
JoinedJan 1, 2002

Ah, thanks to some detective work by Orion, the bug in the hotboot code was found and fixed. An updated snippet has been posted to the code page. Apoligies for not having fixed this sooner, but life has ways of robbing me of time these days.
       
Pages:<< prev 1 next >>