msi: Fix some copy/paste bugs in the implementation of
ead1234 at hotmail.com
Mon Jun 5 11:58:35 CDT 2006
Okay what am i misunderstanding?, explain it to me as its imperative I
learn, and I'd love to learn.
%u is an unsigned integer which is 0 to +32,767.
%i is a signed integer 32,767 to +32,767.
If the sequence number is always going to be a positive number why should we
allot it the extra 32,767 value range?
>From: Mike McCormack <mike at codeweavers.com>
>To: EA Durbin <ead1234 at hotmail.com>
>CC: dank at kegel.com, wine-devel at winehq.org, hans at it.vu.nl
>Subject: Re: msi: Fix some copy/paste bugs in the implementation of
>Date: Tue, 06 Jun 2006 01:34:05 +0900
>EA Durbin wrote:
>>It doesn't use %d currently. It uses %i. And its not to print. It uses
>>this value in the SQL statement. The LastSequence value of the Media table
>>is NEVER negative as i pointed out in the MSDN link. It must always be
>>zero or larger and this is handled by passing %u.
>Unfortunately your lack of understanding of C lets you down here.
More information about the wine-devel