I really don't understand this. Now I tried to play with that number and didn't make any difference, even with the original value. So for now I leave it as it was. I did a gmake clean and recompile, probably this fixed something.
I uploaded a sample DNG here: http://www.zshare.net/download/89869014056297be/
I see no problem in the file, colors look ok.i test with picasa and silky pix free
maybe you should switch your camera to series mode and press and hold shoot button, so 6 images are record.If some of them are wrong mostly every 2. , then your buffer address code is wrong.
also verify if same number of raw and jpg is record and raw and jpg have same number.
best you use option that RAW are in same directory as jpg, so you can see this easy