[Bug 447566] Review Request: libuninum - Library for converting unicode strings to numbers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.

Summary: Review Request: libuninum -  Library for converting unicode strings to numbers


https://bugzilla.redhat.com/show_bug.cgi?id=447566





------- Additional Comments From panemade@xxxxxxxxx  2008-05-21 07:15 EST -------
When I installed this on F9 and tried to compile examples
[parag@localhost Download]$ gcc -Wall -g -o MinimalExample MinimalExample.c -luninum
MinimalExample.c: In function ‘main’:
MinimalExample.c:20: warning: pointer targets in passing argument 2 of
‘StringToInt’ differ in signedness
MinimalExample.c:22: warning: format ‘%u’ expects type ‘unsigned int’, but
argument 2 has type ‘long unsigned int’
[parag@localhost Download]$ ./MinimalExample 
Segmentation fault

GDB gave me
Breakpoint 1, main () at MinimalExample.c:20
20	  StringToInt(&val,str,NS_TYPE_ULONG,NS_ANY);
(gdb) n

Program received signal SIGSEGV, Segmentation fault.
wcStripSeparators (s=0x8048648) at uninum.c:241
241	      *t++ = c;
(gdb) bt
#0  wcStripSeparators (s=0x8048648) at uninum.c:241
#1  0x0011c840 in StringToInt (rvalp=0xbfee1d14, s=0x8048644, ReturnType=0,
NumberSystem=69) at uninum.c:5116
#2  0x08048549 in main () at MinimalExample.c:20
(gdb) 


Am I missing something?

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

_______________________________________________
Fedora-package-review mailing list
Fedora-package-review@xxxxxxxxxx
http://www.redhat.com/mailman/listinfo/fedora-package-review

[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]