Why would a male Co worker pat my head?

On a work night out a male coworker whom I’m quite close to patted my head. Does this mean anything? Does he like me or care for me?
Why would a male Co worker pat my head?
Post Opinion