Just now seeing this thread. Hope he is better by now. I found this link that does say dark brown could indicate bleeding and since the pain medicine is a member of the aspirin family it could be a bleeding stomach ulcer - make sure you are giving the meds on a full stomach and don't let it continue long or he might become anemic.
http://www.kerryblues.info/index.htm...LEARNWALK.HTML