[splint-discuss] Char and Int

Putten van der Bob Bob.van.der.Putten at KONE.com
Fri Sep 28 08:29:32 EDT 2007


I wrote the following code:

Unsigned char MiniMalInsDuration = 10;

 

Now SPLint say's:
Variable MiniMalInsDuration initialized to type int, expects   unsigned
char: 10

 

How can I tell SPLint that '10' should be handled as a unsigned char?

 

(Is there some way to easily brows or search The splint-discuss Archives )

 

With kind regards / Mit freundlichen Grüssen 
B.F.A. van der Putten 
Engineer D&D 
KONE Deursystemen BV
Accustraat 21
3903 LX  Veenendaal
Postbus 94
3900 AB  Veenendaal
* Phone:     +31 (0) 318 532 333
* Fax:         +31 (0) 318 532 339
* Email:      bob.van.der.putten at kone.com
<mailto:bob.van.der.putten at kone.com> 
* Website:  www.kone.com <http://www.kone.com/> 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.cs.virginia.edu/pipermail/splint-discuss/attachments/20070928/ff5d0b7c/attachment.html 


More information about the splint-discuss mailing list