[Asterisk-Dev] group number limitation

Paradise Dove pardove at gmail.com
Wed Jan 12 08:04:15 MST 2005


> so the number of groups could be increased by changing the type of all
> the related vars, functions,... to something like "unsigned long
> double".

sorry, meaned "long double". :-)
or change the logic of group numbers.

On Wed, 12 Jan 2005 00:17:26 +0330, Paradise Dove <pardove at gmail.com> wrote:
> so the number of groups could be increased by changing the type of all
> the related vars, functions,... to something like "unsigned long
> double".
> 
> 
> On Tue, 11 Jan 2005 13:35:09 -0700, Kevin P. Fleming
> <kpfleming at starnetworks.us> wrote:
> > Tilghman Lesher wrote:
> >
> > > The answer is 3 lines further down:
> > >
> > > group |= (1 << x);
> > >
> > > On the i386 architecture, which most people are running, your integers are
> > > all 32 bits wide, which means you're limited to 32 groups.
> >
> > And with that code, if you try use to group number 32, you'll have fun :-)
> > _______________________________________________
> > Asterisk-Dev mailing list
> > Asterisk-Dev at lists.digium.com
> > http://lists.digium.com/mailman/listinfo/asterisk-dev
> > To UNSUBSCRIBE or update options visit:
> >    http://lists.digium.com/mailman/listinfo/asterisk-dev
> >
>



More information about the asterisk-dev mailing list