What does it mean when a guy wraps his arm around a girl's shoulder and squeezing a little?

He's a friend but we aren't that close. During a casual conversation he wrapped his arm around my shoulder and gave me a squeeze. What is the meaning behind it?
What does it mean when a guy wraps his arm around a girl's shoulder and squeezing a little?
Post Opinion