It should be fine, but before you use it do one thing.
Get a meter and measure the voltage of the output on both adapters.
I have seen some adapters that use the load to regulate the output voltage. Meaning at 2A they output 20VDC but at 1.5A they output 23VDC. It is rare, but with something expensive buying a $10 volt meter would be worth it to make sure.