All pastes #631242 Raw Edit

Untitled

public text v1 · immutable
#631242 ·published 2007-07-23 20:35 UTC
rendered paste body
16:29:03 < jer> unix4me, those are not errors, those are warnings
16:29:13 -!- hemry [n=hemry@78-62-17-113.ip.zebra.lt] has joined #macosx
16:29:30 < Dialekt_> pricing out the imac 24"
16:29:37 < jer> that said, you want to be doing: lbl[0] = 'z';
16:29:42 < jer> with that defintion of lbl
16:30:01 < jer> ".." is for char*; '' is for char
16:30:20 -!- unix4me_ [n=unix4me@c-71-203-10-234.hsd1.fl.comcast.net] has joined #macosx
16:30:24 -!- risc [n=anon@203-214-97-252.dyn.iinet.net.au] has joined #MacOSX
16:30:25 -!- mode/#macosx [+o risc] by ChanServ
16:30:25 < jer> you're defining an array of char's .. and since you're putting chars in at specific indexes, you need to append chars to make up the string lbl
16:31:12 < jer> or you could always, strcat(lbl, "zzzzzzz"); (note that this won't append a NUL terminator, which may or may not be desired (if it is, your current code is also borked)
16:31:32 < LoganTheRe1> Dialekt_: sorry, had to deal with somethin here at work
16:31:41 -!- unix4me_ [n=unix4me@c-71-203-10-234.hsd1.fl.comcast.net] has left #macosx []
16:31:46 -!- unix4me_ [n=unix4me@c-71-203-10-234.hsd1.fl.comcast.net] has joined #macosx
16:31:47 < jer> unix4me, if you missed most of that, let me know, i can pastebin it so you can read my whole comments
16:31:57 < unix4me_> jer: yes; my client was being unstable :S
16:32:00 < unix4me_> jer: thanks.