How to change size in a knitting pattern

I am knitting leg warmers for my sister who is extremely short and skinny. There is a pattern that I want to use but I think it will be very big for her legs. How do I change the pattern to fit her measurements?

Use less stitches. It helps if you have a measurement, then multiply that times the stitches per inch in the pattern.